git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sc: prefer precalculated dps for aggregate attacks
[sheet.git]
/
sc.plp
diff --git
a/sc.plp
b/sc.plp
index 2a17bc86bae1fb009aef03f27b9a4d8b73276c3b..f1632eeaddfbf513c0fd28a8113feda44f8f39b7 100644
(file)
--- a/
sc.plp
+++ b/
sc.plp
@@
-164,7
+164,10
@@
sub showrange {
) if $attack->{splash};
$out .= '<td class="val hurt hurtrel">';
) if $attack->{splash};
$out .= '<td class="val hurt hurtrel">';
- if ($attack->{cooldown}) {
+ if ($attack->{dps}) {
+ $out .= showrange($attack->{dps}->[0], $attack->{dps}->[-1]);
+ }
+ elsif ($attack->{cooldown}) {
if (my $type = $attack->{type}) {
if ($type eq 'explosive') {
$damage /= 2;
if (my $type = $attack->{type}) {
if ($type eq 'explosive') {
$damage /= 2;