],
special => [
{
- name => 'siege mode',
- abbr => 'sg',
+ name => 'Siege Mode',
+ abbr => 'sm',
alt => 'Sieged Tank',
cargo => 0,
attack => [
special => [
{
name => 'Spawn Changeling',
+ abbr => 'sc',
alt => 'Changeling',
cost => 50,
duration => 150,
speed => 2.25,
creep => 1.0,
sight => 8,
+ range => 0,
},
{
name => 'Contaminate',
special => [
{
name => 'Swarm Seeds',
- abbr => 'ss',
desc => 'Broodlings are spawned upon each attack',
duration => -1,
alt => 'Broodling',
name => 'Surveillance Mode',
abbr => 'sm',
desc => 'gain 25% vision while immobilized',
+ speed => 0,
sight => 2.75, # +25%
transform => .54,
},
],
},
-$unit{overseer},
+{
+ %{ $unit{overseer} },
+ special => [
+ {
+ name => 'Oversight Mode',
+ abbr => 'om',
+ desc => 'gain 25% vision while immobilized',
+ speed => 0,
+ sight => 11 * 1.25,
+ transform => .54,
+ },
+ @{ $unit{overseer}->{special} }, # changeling, contaminate
+ ],
+},
$unit{larva},
$unit{spine_crawler},
content: ')';
}
.magic-perma {
- text-decoration: underline;
+ font-variant: small-caps;
}
.units .val {
sprintf '<span%s title="%s">%s</span>',
$_->{duration} < 0 && ' class="magic-perma"',
join('',
- $_->{name},
+ $_->{name} // $_->{alt},
$_->{desc} ? ": $_->{desc}" : '',
(map { $_ && " ($_)" } join ', ',
#TODO: apply upgrades