use utf8;
use strict;
+my $V = v5.0.2; # some patch data for invisible attributes
+my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n or 4 gas (8 rich) after 3s (53/min)"; # lotv time scale
+
[
-'patch 2.1.10',
+'patch 2.1.9+',
# http://wiki.teamliquid.net/starcraft2/Unit_Statistics
# http://wiki.teamliquid.net/starcraft2/User:Roemy/Unit_Statistics_(detailed)
# http://starcraft.wikia.com/wiki/List_of_StarCraft_II_units
],
speed => 2.8125,
sight => 8,
+ special => [
+ {
+ name => 'worker',
+ abbr => '⚒',
+ desc => "warp-in buildings\n- $GATHER",
+ },
+ ],
},
{
psionic => 1,
massive => 1,
flying => 1,
+ heroic => 1,
},
attack => [
{
min => 100,
gas => 100,
build => 80,
- speed => 0.9375,
+ speed => $V ge v5.0.11 ? 1 : 0.9375, # 50% increase
},
],
},
],
speed => 2.8125,
sight => 8,
+ special => [
+ {
+ name => 'worker',
+ abbr => '⚒',
+ desc => join("\n- ",
+ 'construct buildings',
+ 'repair mechanical units and buildings (speed as build time but 25% cost)',
+ $GATHER,
+ ),
+ },
+ ],
},
{
},
speed => 2.8,
sight => 8,
+ special => [
+ {
+ name => 'limited worker',
+ abbr => '⛏',
+ desc => join("\n- ",
+ 'repair like an SCV (but cannot build)',
+ 'gather 25 minerals after 6s: 200-225 over its 64s lifetime (equilavent to 3½ SCVs)',
+ ),
+ duration => 64,
+ energy => 50,
+ },
+ ],
},
{
],
speed => 2.25,
sight => 11,
- energy => 75,
+ energy => $V ge v4.1.4 || $V lt v4.0.0 ? 75 : 50,
+ upgrade => [
+ $V ge v4.1.4 || $V lt v4.0.0 ? () : {
+ name => 'Moebius Reactor',
+ min => 100,
+ gas => 100,
+ build => 80,
+ energy => 25,
+ },
+ ],
capacity => 200,
special => [
{
desc => 'reveals cloaked units and removes up to 100 shields and energy',
cost => 75,
range => 10,
- radius => 1.5,
+ radius => 1.5, # 2 after upgrade
+ detect => 1,
},
{
name => 'Personal Cloaking',
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 => [
{
splash => 1,
cooldown => 40,
range => 5,
+ transform => 1.0, # time to burrow
},
],
speed => 2.8125,
],
special => [
{
- name => 'siege mode',
- abbr => 'sg',
+ name => 'Siege Mode',
+ abbr => 'sm',
alt => 'Sieged Tank',
cargo => 0,
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,
speed => 2.8125,
creep => 1.0,
sight => 8,
+ special => [
+ {
+ name => 'worker',
+ abbr => '⚒',
+ desc => "morph into buildings\n- $GATHER",
+ },
+ ],
},
{
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,
},
special => [
{
name => 'Spawn Changeling',
+ abbr => 'sc',
alt => 'Changeling',
cost => 50,
duration => 150,
speed => 2.25,
creep => 1.0,
sight => 8,
+ range => 0,
},
{
name => 'Contaminate',
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,
},
build => 100,
speed => 0.5625,
creep => -0.302,
+ speed => $V ge v5.0.11 ? .98 : .79, #TODO
},
],
},
range => 10,
duration => 4,
radius => 2.0,
+ detect => 1,
},
{
alt => 'Infested Terran',
},
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,
- },
},
],
},
special => [
{
name => 'Swarm Seeds',
- abbr => 'ss',
desc => 'Broodlings are spawned upon each attack',
- duration => -1,
+ duration => $V ge v5.0.11 ? 2.55 : 4,
alt => 'Broodling',
pop => 0,
# build => 1,