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 (parent:
aac2247
)
sc: distinguish linear splash damage
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 14 Jun 2015 09:41:02 +0000
(11:41 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 14 Jun 2015 09:41:02 +0000
(11:41 +0200)
sc.plp
patch
|
blob
|
history
diff --git
a/sc.plp
b/sc.plp
index 9c271be8e6f9bf144c394486f011746b3a83bcf3..06e377f9fce05107eee06dad6a07bb7b833bf1b1 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-144,7
+144,9
@@
sub showval {
$tagbase .= '">';
my $out = showval($row, 'attack', $area, 'damage');
$tagbase .= '">';
my $out = showval($row, 'attack', $area, 'damage');
- $out .= '<span class="unit-splash">+</span>' if $attack->{splash};
+ $out .= sprintf('<span class="unit-splash" title="%s">%s</span>',
+ $attack->{splash} eq 'line' ? ('linear', '×') : ('splash', '+')
+ ) if $attack->{splash};
$attack->{dps} = $attack->{cooldown} && [
map { 24 * $_ / $attack->{cooldown} * ($attack->{count} // 1) }
map { ref $_ ? @{$_} : $_ }
$attack->{dps} = $attack->{cooldown} && [
map { 24 * $_ / $attack->{cooldown} * ($attack->{count} // 1) }
map { ref $_ ? @{$_} : $_ }
@@
-344,7
+346,8
@@
if ($scver{major} > 1) {
<dd>damage done per single attack against ground/air units
<dd>2nd column indicates relative amount of damage done in
1 second of fastest game time
<dd>damage done per single attack against ground/air units
<dd>2nd column indicates relative amount of damage done in
1 second of fastest game time
- <dd>splash damage<span class="unit-splash">+</span> hits nearby objects as well
+ <dd>splash damage hits all objects nearby <span class="unit-splash">+</span>
+ or in a straight line <span class="unit-splash">×</span>.
<dd><span class="hurt unit-l">explosive</span> damage does only
50% damage to small units, 75% to medium, 100% to large
<dd><span class="hurt unit-s">concussive/plasma</span> damage does
<dd><span class="hurt unit-l">explosive</span> damage does only
50% damage to small units, 75% to medium, 100% to large
<dd><span class="hurt unit-s">concussive/plasma</span> damage does