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:
4a625d5
)
sc: indicate weapon cost [of oracle beam]
author
Mischa POSLAWSKY
<perl@shiar.org>
Tue, 30 Jun 2015 13:43:24 +0000
(15:43 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 1 Jul 2015 17:32:34 +0000
(19:32 +0200)
sc.plp
patch
|
blob
|
history
diff --git
a/sc.plp
b/sc.plp
index 5d82a8d0ba657cb66c1d525c1c900f5f854d32cb..e4633107554db5d1d72501bb57b006ca84b6f14b 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-130,6
+130,8
@@
sub showrange {
$maxdamage += ($upattack->{upgrade} // $attack->{upgrade}) * 3;
my $out = '<td class="val hurt">';
+ $out .= sprintf '<span title="%s">¤</span> ', showcost($attack, $row)
+ if $attack->{cost};
$out .= sprintf('<small>%s× </small>',
showrange($attack->{count}, $upattack->{count}),
) if $attack->{count} > 1;