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:
e3dac38
)
sc: indicate multiple hits by prefixing damage by multiplier
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 19 Jun 2015 01:09:27 +0000
(
03:09
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 19 Jun 2015 01:09:27 +0000
(
03:09
+0200)
sc.plp
patch
|
blob
|
history
diff --git
a/sc.plp
b/sc.plp
index c8be6c7cebb55dfa42a6548661f40572ca54a741..69b6a519f26e5170bab15c33191da2fea04ddaed 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-133,6
+133,7
@@
sub showrange {
($damage, $maxdamage) = ($damage->[0], $upattack->{damage} // $damage->[-1])
if ref $damage;
+ $out .= "<small>$attack->{count}× </small>" if $attack->{count} > 1;
$out .= showrange($damage, $maxdamage);
$out .= sprintf('<span class="unit-splash" title="%s">%s</span>',
$attack->{splash} eq 'line' ? ('linear', '×') : ('splash', '+')