X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/15d29dfd5e43a74aab0fc7348e4a137f1f11b2a8..f00c1e5c4de7325c9d5d851a61355fe8638cca95:/sc.plp diff --git a/sc.plp b/sc.plp index 2a17bc8..f1632ee 100644 --- a/sc.plp +++ b/sc.plp @@ -164,7 +164,10 @@ sub showrange { ) if $attack->{splash}; $out .= ''; - 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;