From: Mischa POSLAWSKY Date: Sat, 20 Jun 2015 04:04:07 +0000 (+0200) Subject: sc: indicate projectile attacks X-Git-Tag: v1.8~120 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/765f1c0e70d229d888df567497e51ac971628078?hp=dda7e4bcad0e3c78e0a06693b90bc97da943fa23 sc: indicate projectile attacks --- diff --git a/sc.css b/sc.css index 6da59ad..10e958c 100644 --- a/sc.css +++ b/sc.css @@ -66,6 +66,9 @@ td.hurtrel { tbody .unit-shield { color: #46A; } +.unit-pdd { + color: #A8C; +} .unit-splash { color: #4A0; } diff --git a/sc.plp b/sc.plp index a7da312..1c61130 100644 --- a/sc.plp +++ b/sc.plp @@ -144,6 +144,8 @@ sub showrange { ), )} keys %{ $attack->{bonus} }), ) if $attack->{bonus}; + $out .= '•' + if $attack->{type} eq 'projectile'; $out .= sprintf '', $attack->{name} if $attack->{name}; $out .= showrange($damage, $maxdamage); @@ -405,7 +407,9 @@ if ($scver{major} > 1) {
<: if ($scver{major} > 1) { :>does not include bonus damage - dealt to susceptible unit types<: + dealt to susceptible unit types +
•projectile shots are negated by + Point Defense Drones<: } else { :>*explosive damage does only 50% damage to small units, 75% to medium, 100% to large