X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/1b57f59204dcd2185286dffc630a9f88bf1f55d9..f1c776e1a305b40451b2e66410beeb904f53a3ef:/sc.plp diff --git a/sc.plp b/sc.plp index d8e89de..ac78eb6 100644 --- a/sc.plp +++ b/sc.plp @@ -313,11 +313,20 @@ sub showrangeint { $_->{detect} ? '%s' : '%s', showrangeint($_->{sight}, $_->{upgraded}->{sight}) ), - '' . + sprintf('%s', showrange( map { $_ && sprintf '%.1f', $_ } $_->{speed}, $_->{upgraded}->{speed} ), + defined $_->{creep} && sprintf(' title="%s on creep"', + $_->{creep} == 1 ? 'same' : showrange( + map { $_ && sprintf '%.1f', $_ } + $_->{speed} * $_->{creep}, + $_->{upgraded}->{speed} && $_->{upgraded}->{speed} * + ($_->{upgraded}->{creep} // $_->{creep}), + ), + ), + ), $_->{attr}->{jump} && qq'↕', '' . showmagic($_), @@ -441,7 +450,8 @@ if ($scver{major} > 1) {
attack
damage given per single hit
dps indicates relative amount of damage - done in 1 second of in-game time + done in 1 second of <:= $scver{major} > 1 ? 'Normal in-game time' : + 'time on Fast game speed' :>
splash damage hits all objects nearby ⁜ or in a straight line +.
<: @@ -464,7 +474,8 @@ if ($scver{major} > 1) {
range in which the unit detects other units
emphasis indicates ability to detect cloaked units
speed -
relative speed of movement (when in full motion, startup speed ignored) +
top movement speed in hex per second +
acceleration and deceleration ignored
specials
parentheses () indicate that it needs to be researched first
passive abilities are always enabled