X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e2979f68e1958ee38dbe6fa58bd1897518258946..cf5aaee63c5aa7eeae7e2e136e58e156841616a9:/sc-units-lotv.inc.pl diff --git a/sc-units-lotv.inc.pl b/sc-units-lotv.inc.pl index c0fb81e..e7608c5 100644 --- a/sc-units-lotv.inc.pl +++ b/sc-units-lotv.inc.pl @@ -9,7 +9,7 @@ for my $row (@{$hots}) { ref $row eq 'HASH' or next; for ($row, @{ $row->{special} }, @{ $row->{upgrade} }) { $_ *= $RT for $_->{speed} // (); - $_ /= $RT for $_->{build} // (), $_->{warp} // (), $_->{cooldown} // (); + $_ /= $RT for $_->{build} // (), $_->{transform} // (), $_->{warp} // (), $_->{cooldown} // (); $_->{cooldown} and $_->{cooldown} /= $RT for @{ $_->{attack} // [] }; } $unit{ lc $row->{name} =~ tr/ /_/r } = $row; @@ -118,9 +118,7 @@ $unit{sentry}, build => 0, size => 0, cargo => 0, - attr => { - trans => 1, - }, + hp => -1, attack => [], #TODO: indicate diff from parent speed => 5, #XXX: faster than 3.5 range => 7, #XXX: calculate from speed @@ -541,7 +539,7 @@ $unit{medivac}, { name => 'Defender Mode', abbr => 'dm', - build => 2.88, # transformation time, 1.46s to revert + transform => 2.88, # 1.46s to revert alt => 'Defender Liberator', attack => [ { @@ -785,6 +783,7 @@ $unit{nydus_worm}, { %{ $unit{swarm_host}->{special}->[0] }, # locust hp => 50, + upgrade => [], # no flying }, ], upgrade => [],