24 static char* shield_name[] = {
26 "sys.shield.deflector",
31 static int shield_value[] = {
38 :
System(SHIELD, shield_type,
"shield", shield_value[shield_type], 100, 0),
39 shield_cutoff(0.0f), shield_capacitor(false), shield_bubble(false),
40 deflection_cost(1.0f), shield_curve(0.05f)
50 switch (shield_type) {
76 :
System(s), shield_factor(s.shield_factor), requested_power_level(0.0f),
77 shield_cutoff(s.shield_cutoff), shield_capacitor(s.shield_capacitor),
78 shield_bubble(s.shield_bubble), deflection_cost(s.deflection_cost),
79 shield_curve(s.shield_curve)
171 double penetration = 5;
194 double deflected = damage - leak;
234 if (level > 100) level = 100;
235 else if (level < 0) level = 0;
250 else if (
emcon != index) {