X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/bb07d710e95b75eb0089b07165616e825f406aae..8ccd2531f273e279b7732a50f9f46391f92cf8ec:/sc.plp diff --git a/sc.plp b/sc.plp index 9a9a12a..6b08c94 100644 --- a/sc.plp +++ b/sc.plp @@ -192,7 +192,7 @@ sub showrange { } } - if ($elements[0] eq 'attack' and $elements[1] ne 'range' and $elements[2] eq 'cmp') {{ + if ($elements[0] eq 'attack' and $elements[1] ne 'range' and $elements[2] eq 'dps') {{ my $type = $row->{$elements[0]}->{$elements[1]}->{type} or next; if ($type eq 'explosive') { $min /= 2; @@ -225,7 +225,7 @@ sub showrange { my $out = showrange($row, 'attack', $area, 'damage'); $out .= '+' if $_->{splash}; - $out .= '' . showrange($row, 'attack', $area, 'cmp'); + $out .= '' . showrange($row, 'attack', $area, 'dps'); return $tagbase . $out; }