git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
dda7e4b
)
sc: indicate projectile attacks
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 20 Jun 2015 04:04:07 +0000
(06:04 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 22 Jun 2015 13:38:51 +0000
(15:38 +0200)
sc.css
patch
|
blob
|
history
sc.plp
patch
|
blob
|
history
diff --git
a/sc.css
b/sc.css
index 6da59adae5bd3ccc4e6b830372057f8d65079ba8..10e958cdf03d72ae8051eeb77aa5cb5c1b48f88a 100644
(file)
--- a/
sc.css
+++ b/
sc.css
@@
-66,6
+66,9
@@
td.hurtrel {
tbody .unit-shield {
color: #46A;
}
tbody .unit-shield {
color: #46A;
}
+.unit-pdd {
+ color: #A8C;
+}
.unit-splash {
color: #4A0;
}
.unit-splash {
color: #4A0;
}
diff --git
a/sc.plp
b/sc.plp
index a7da312c8207b4ef8650d2291355c7796da91b44..1c611305dbffc1d1e42df4fa9370e4b5bc874fab 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-144,6
+144,8
@@
sub showrange {
),
)} keys %{ $attack->{bonus} }),
) if $attack->{bonus};
),
)} keys %{ $attack->{bonus} }),
) if $attack->{bonus};
+ $out .= '<span class="unit-pdd" title="projectile">•</span>'
+ if $attack->{type} eq 'projectile';
$out .= sprintf '<span title="%s">', $attack->{name} if $attack->{name};
$out .= showrange($damage, $maxdamage);
$out .= sprintf '<span title="%s">', $attack->{name} if $attack->{name};
$out .= showrange($damage, $maxdamage);
@@
-405,7
+407,9
@@
if ($scver{major} > 1) {
<dd><:
if ($scver{major} > 1) {
:>does not include <span>≥</span>bonus damage
<dd><:
if ($scver{major} > 1) {
:>does not include <span>≥</span>bonus damage
- dealt to susceptible unit types<:
+ dealt to susceptible unit types
+ <dd><span class="unit-pdd">•</span>projectile shots are negated by
+ Point Defense Drones<:
} else {
:><span class="unit-l">*</span>explosive damage does only
50% damage to small units, 75% to medium, 100% to large
} else {
:><span class="unit-l">*</span>explosive damage does only
50% damage to small units, 75% to medium, 100% to large