X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/765cc0dd3089fcc723c69627044c91a845da46ae..7a40f1f224a88326e17fe5ce1a2e7059ebf93ef4:/sc.plp
diff --git a/sc.plp b/sc.plp
index 08cbc45..69b6a51 100644
--- a/sc.plp
+++ b/sc.plp
@@ -113,19 +113,19 @@ sub showrange {
my $attack = $row->{attack}->[$area]
or return '
';
- my $tagbase = '';
- $tagbase .= ' | ' . 'â½' x !!($attack->{anti} & 1);
- $tagbase .= ' | ' . 'â³' x !!($attack->{anti} & 2);
- $tagbase .= ' | ' . 'â½' x !!($attack->{anti} & 1);
+ $out .= ' | ' . 'â³' x !!($attack->{anti} & 2);
+ $out .= ' | ';
+ $out .= '">';
my $upattack = $row->{upgraded}->{attack}->[$area];
my $maxdamage =
@@ -133,7 +133,8 @@ sub showrange {
($damage, $maxdamage) = ($damage->[0], $upattack->{damage} // $damage->[-1])
if ref $damage;
- my $out = showrange($damage, $maxdamage);
+ $out .= "$attack->{count}Ã " if $attack->{count} > 1;
+ $out .= showrange($damage, $maxdamage);
$out .= sprintf('%s',
$attack->{splash} eq 'line' ? ('linear', 'Ã') : ('splash', '+')
) if $attack->{splash};
@@ -154,7 +155,7 @@ sub showrange {
$out .= showrange($damage, $maxdamage);
}
- return $tagbase . $out;
+ return $out;
}
sub showmagic {
|