X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e3a4e7122f945a204fadfc845e83e0d6d6ad36fa..f5e90028e202fa9055c1e092cfe8219cbb1678f9:/sc.plp diff --git a/sc.plp b/sc.plp index 06e377f..3ebc4f1 100644 --- a/sc.plp +++ b/sc.plp @@ -148,7 +148,7 @@ sub showval { $attack->{splash} eq 'line' ? ('linear', '×') : ('splash', '+') ) if $attack->{splash}; $attack->{dps} = $attack->{cooldown} && [ - map { 24 * $_ / $attack->{cooldown} * ($attack->{count} // 1) } + map { $_ / $attack->{cooldown} * ($attack->{count} // 1) } map { ref $_ ? @{$_} : $_ } $attack->{damage} #TODO: upgrade (zergling) @@ -211,7 +211,11 @@ sub showval { !!$_->{base} && '+', $_->{build} || '0', ), - !$suitchar ? '' : sprintf('%s', $suitchar, ucfirst $suitchar), + !$suitchar ? '' : sprintf('%s%s', + $suitchar, ucfirst $suitchar, + $_->{attr}->{massive} + && '⚓', + ), '' . ( defined $_->{unit} && $_->{unit} == .5 ? '½' : $_->{unit} ), @@ -242,8 +246,10 @@ sub showval { showval($_, 'sight') ), '' . showval($_, 'speed'), - $_->{attr}->{massive} - && '⚓', + $_->{attr}->{jump} + && qq'↕', + $_->{attr}->{flying} + && qq'↑', '' . showmagic($_), "\n" ); @@ -312,7 +318,9 @@ if ($scver{major} > 1) { :>transports can fit 8 Small, 4 Medium, 2 Large, - or a single Huge unit<: + or a single Huge unit +
massive ⚓ units + cannot be lifted or slowed and can break force fields<: } else { :>affected by Small, Medium, or