use utf8;
use strict;
+my $V = v5.0.2; # some patch data for invisible attributes
+
[
'patch 2.1.9+',
# http://wiki.teamliquid.net/starcraft2/Unit_Statistics
psionic => 1,
massive => 1,
flying => 1,
+ heroic => 1,
},
attack => [
{
upgrade => [
{
name => 'Infernal Pre-Igniter',
- min => 150,
- gas => 150,
+ min => $V lt v4.11.0 ? 150 : 100,
+ gas => $V lt v4.11.0 ? 150 : 100,
build => 110,
attack => [
{
name => 'Hellion Mode',
abbr => 'hm',
desc => 'transform to Hellion',
- duration => 4,
+ transform => 4,
},
],
upgrade => [
{
name => 'Infernal Pre-Igniter',
- min => 150,
- gas => 150,
+ min => $V lt v4.11.0 ? 150 : 100,
+ gas => $V lt v4.11.0 ? 150 : 100,
build => 110,
attack => [
{
},
],
speed => 0,
- duration => 4,
+ transform => 4,
},
],
speed => 2.25,
{
name => 'Assault Mode',
abbr => 'am',
- build => 3, # transformation time
+ transform => 3,
alt => 'Landed Viking',
cargo => 2,
attack => [
special => [
{
alt => 'Auto-Turret',
-# abbr => 'at',
+ abbr => 'at',
cost => 50,
size => 2,
cargo => 0,
},
{
anti => 2,
- name => 'ATS Laser Batteries',
+ name => 'ATA Laser Batteries',
damage => 6,
upgrade => 1,
cooldown => 0.225,
upgrade => [
{
name => 'Pneumatized Carapace',
- min => 100,
- gas => 100,
+ min => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
+ gas => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
build => 60,
speed => 1.294,
},
upgrade => [
{
name => 'Pneumatized Carapace',
- min => 100,
- gas => 100,
+ min => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
+ gas => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
build => 60,
speed => 3.375 - 1.875,
},
},
attack => [
{
+ name => 'Infested Rockets',
anti => 3,
damage => 8,
cooldown => 0.8608,
race => 'zerg',
cat => 'lair',
name => 'Nydus Worm',
- min => 100,
+ min => 100, # Nydus Network costs 150/200
gas => 100,
build => 20,
size => 3,
duration => 25,
cooldown => 60,
count => 2,
+ upgrade => [
+ {
+ # Flying Locusts
+ attr => {
+ flying => 1,
+ },
+ },
+ ],
},
],
upgrade => [
min => 200,
gas => 200,
build => 160,
- attr => {
- flying => 1,
- },
},
],
},