4 my $V = v5.0.2; # some patch data for invisible attributes
8 # http://wiki.teamliquid.net/starcraft2/Unit_Statistics
9 # http://wiki.teamliquid.net/starcraft2/User:Roemy/Unit_Statistics_(detailed)
10 # http://starcraft.wikia.com/wiki/List_of_StarCraft_II_units
32 name => 'Particle Beam',
45 name => 'Photon Cannon',
60 name => 'Phase Disruptor',
75 name => 'Mothership Core',
94 name => 'Repulsor Cannon',
108 name => 'Photon Overcharge',
110 desc => 'activate Nexus weapon for 1 minute',
115 name => 'Mass Recall',
117 desc => 'teleports itself and nearby units to targeted Nexus',
125 desc => 'create a temporal field which slows ground units by 50%',
137 name => 'Mothership',
157 name => 'Purifier Beams',
171 name => 'Cloaking Field',
173 desc => 'cloaks all nearby friendly units and buildings',
178 name => 'Mass Recall',
180 desc => 'teleports itself and nearby units to targeted Nexus',
188 desc => 'create a temporal field which slows ground units by 50%',
217 name => 'Photon Overcharge',
220 type => 'projectile',
230 name => 'Chrono Boost',
232 desc => '50% faster production speed at a targeted building',
260 name => 'Psi Blades',
274 desc => 'on attack, increases movement speed to 6.05 for 3.5s',
313 name => 'Disruption Beam',
326 name => 'Force Field',
328 desc => 'erect a barries that impedes ground movement for 15s',
335 name => 'Guardian Shield',
337 desc => 'reduces ranged damage by 2 for friendly units within 4 radius',
343 name => 'Hallucination',
345 desc => 'create fake replica of a protoss unit for one minute',
374 name => 'Particle Disruptors',
380 type => 'projectile',
391 desc => 'teleport to visible location',
404 name => 'High Templar',
428 desc => 'target will lose its energy and receive damage equal to that amount',
433 name => 'Psionic Storm',
435 desc => 'deals 80 damage over 4 seconds to units in targeted area',
451 name => 'Dark Templar',
470 name => 'Warp Blade',
481 name => 'Permanent Cloak',
483 desc => 'cloaked at all times',
493 min => 100, # or 175 or 250
494 gas => 300, # or 275 or 250
497 base => ['Templar', 'Templar'],
510 name => 'Psionic Shockwave',
549 name => 'Permanent Cloak',
551 desc => 'cloaked at all times',
557 name => 'Gravitic Boosters',
569 name => 'Warp Prism',
589 name => 'Phasing Mode',
591 desc => 'basically transforms into a hovering pylon',
596 name => 'Gravitic Drive',
625 name => 'Phase Disruptors',
640 name => 'Hardened Shield',
642 desc => 'reduce all damage on shields to a maximum of 10',
665 jump => 'Cliff Walk',
670 name => 'Thermal Lances',
683 name => 'Extended Thermal Lance',
717 name => 'Ion Cannons',
723 type => 'projectile',
735 name => 'Graviton Beam',
737 desc => 'lifts a ground unit into the air for 10s',
745 name => 'Anion Pulse-Crystals',
779 name => 'Prismatic Beam',
787 range => 6, # keeps firing until range 8
794 name => 'Prismatic Alignment',
796 desc => 'increases damage to armored by 6 for 20 seconds',
832 name => 'Pulsar Beam',
850 name => 'Revelation',
852 desc => 'hit enemy units and buildings are revealed for 1 minute',
862 desc => 'temporary detection within sight range',
892 name => 'Kinetic Overload',
899 type => 'projectile',
905 name => 'Resonance Coil',
908 type => 'projectile',
940 range => 8, # leash range 14
941 dps => [26.7, undef, undef, 42.6],
949 alt => 'Interceptor',
967 name => 'Interceptor Beams',
981 name => 'Graviton Catapult',
985 desc => 'increases Interceptor launch speed from 2/s to 4-8/s',
988 cooldown => -0.375, # -0.25
1000 name => 'SCV', # T-280 Space Construction Vehicle
1017 name => 'Fusion Cutter',
1049 name => 'Missile Turret',
1065 name => 'Longbolt Missiles',
1069 type => 'projectile',
1078 name => 'Hi-Sec Auto Tracking',
1089 name => 'Building Armor',
1101 name => 'Planetary Fortress',
1102 base => ['Command Center'],
1119 name => 'Ibiks Cannon',
1130 name => 'Neosteel Frame',
1134 desc => 'increase load space by 5',
1137 name => 'Building Armor',
1144 name => 'Hi-Sec Auto Tracking',
1176 name => 'C-14 Rifle',
1186 name => 'Combat Shield',
1195 name => 'Stim Pack',
1197 desc => 'increases attack and movement speed by 50% for 15s at the cost of 10 health',
1236 name => 'Punisher Grenades',
1243 type => 'projectile',
1250 name => 'Stim Pack',
1252 desc => 'increases attack and movement speed by 50% for 15s at the cost of 10 health',
1266 type => 'projectile',
1274 name => 'Concussive Shells',
1276 desc => 'slows non-massive enemy movement speed by 50% for 1.5s when hit',
1307 name => 'P-45 Reaper Pistol',
1319 name => 'Combat Drugs',
1321 desc => 'heal 2 HP per second after 10 seconds out of combat',
1346 name => 'C-10 Rifle',
1363 name => 'Sniper Round',
1365 desc => '25 damage to a single biological unit, or 50 to psionic',
1370 name => 'EMP Round',
1372 desc => 'reveals cloaked units and removes up to 100 shields and energy',
1378 name => 'Personal Cloaking',
1380 desc => 'has the ability to cloak',
1388 name => 'Nuclear Strike',
1390 desc => 'guides a missile which will do 300 damage plus 200 to buildings',
1417 name => 'Infernal Flamethrower',
1433 name => 'Hellbat Mode',
1435 desc => 'transform to Hellbat',
1441 name => 'Infernal Pre-Igniter',
1442 min => $V lt v4.11.0 ? 150 : 100,
1443 gas => $V lt v4.11.0 ? 150 : 100,
1479 name => 'Napalm Spray',
1483 light => 0, # visibility for upgrade
1494 name => 'Hellion Mode',
1496 desc => 'transform to Hellion',
1502 name => 'Infernal Pre-Igniter',
1503 min => $V lt v4.11.0 ? 150 : 100,
1504 gas => $V lt v4.11.0 ? 150 : 100,
1521 name => 'Widow Mine',
1537 name => 'Sentinel Missiles',
1551 name => 'Drilling Claws',
1553 desc => 'decreases burrow time from 3 to 1 second',
1564 name => 'Siege Tank',
1580 name => '90 mm Twin Cannon',
1593 name => 'siege mode',
1595 alt => 'Sieged Tank',
1600 name => '120 mm Shock Cannon',
1640 name => "Thor's Hammer",
1649 name => 'Javelin Missiles',
1650 # name => 'Explosive Payload',
1658 type => 'projectile',
1665 name => 'Punisher Cannons',
1666 # name => 'High Impact Payload',
1669 type => 'projectile',
1698 name => 'Lanzer Torpedoes',
1704 type => 'projectile',
1712 name => 'Assault Mode',
1715 alt => 'Landed Viking',
1720 name => 'Twin Gatling Cannon',
1757 desc => 'automatically heals nearby biological allies for 9 HP per second',
1762 name => 'Ignite Afterburners',
1764 desc => 'boost speed and accelleration to 4.25 for 8s',
1773 name => 'Caduceus Reactor',
1785 name => 'Banshee', # AH/G-24
1802 name => 'Backlash Rockets',
1805 type => 'projectile',
1819 desc => 'has the ability to cloak',
1853 alt => 'Auto-Turret',
1868 name => '12 mm Gauss Cannon',
1878 name => 'Hi-Sec Auto Tracking',
1889 name => 'Building Armor',
1896 name => 'Durable Materials',
1906 alt => 'Point Defense Drone',
1922 name => 'Point Defense Laser',
1929 name => 'Hi-Sec Auto Tracking',
1940 name => 'Building Armor',
1947 name => 'Durable Materials',
1957 name => 'Seeker Missile',
1959 desc => 'launches missile to do 100 damage plus splash'
1960 . ' unless targeted unit moves to 13 range within 5 seconds of charging',
1973 name => 'Corvid Reactor',
1985 name => 'Battlecruiser',
2003 name => 'ATS Laser Batteries',
2007 type => 'projectile',
2012 name => 'ATA Laser Batteries',
2016 type => 'projectile',
2026 name => 'Yamato Cannon',
2028 desc => '300 damage to a single target',
2044 name => 'Behemoth Reactor',
2108 type => 'projectile', # except if range < 3
2114 name => 'Acid Spines',
2118 type => 'projectile', # except if range < 3
2129 name => 'Spawn Larva',
2131 desc => 'injects a Hatchery to produce 4 Larvae after 40 seconds',
2138 name => 'Spawn Creep Tumor',
2140 desc => 'place a tumor on creep which will expand it',
2146 name => 'Transfusion',
2148 desc => 'heal a friendly biological unit or building for 125 HP',
2177 name => 'Generate Creep',
2179 desc => 'place Zerg creep at current location',
2187 name => 'Pneumatized Carapace',
2188 min => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2189 gas => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2194 name => 'Ventral Sacs',
2208 base => ['Overlord'],
2229 name => 'Spawn Changeling',
2230 alt => 'Changeling',
2247 name => 'Contaminate',
2249 desc => 'covers an enemy structure in slime, preventing production and research for 30 seconds',
2257 name => 'Pneumatized Carapace',
2258 min => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2259 gas => $V lt v4.10.1 || $V ge v4.11.0 ? 100 : 75,
2261 speed => 3.375 - 1.875,
2301 name => 'Spine Crawler',
2317 name => 'Impaler Tentacle',
2334 name => 'Spore Crawler',
2350 name => 'Seeker Spores',
2355 type => 'projectile',
2397 name => 'Adrenal Glands',
2410 name => 'Metabolic Boost',
2423 base => ['Zergling'],
2438 name => 'Volatile Burst',
2456 name => 'Centrifugal Hooks',
2485 name => 'Acid Saliva', # Claws melee
2498 name => 'Rapid Regeneration',
2500 desc => 'regenerates health at 5 HP/s while burrowed',
2504 name => 'Tunneling Claws',
2509 desc => 'move while burrowed at speed of 2.0 and increase regeneration to 10 HP/s',
2516 name => 'Glial Reconstitution',
2529 name => 'Hydralisk',
2545 name => 'Needle Spines', # Scythe melee
2548 type => 'projectile', # except melee
2558 name => 'Grooved Spines',
2569 name => 'Muscular Augments',
2603 name => 'Neural Parasite',
2605 desc => 'take control of target enemy unit for 15s (while within 14 range)',
2614 name => 'Fungal Growth',
2616 desc => 'for 4 seconds, immobilize enemy units in target area and deal 30 damage',
2623 alt => 'Infested Terran',
2627 build => 4.8, # 5 normal but 3 faster
2638 name => 'Infested Rockets',
2652 name => 'Pathogen Glands',
2664 name => 'Nydus Worm',
2665 min => 100, # Nydus Network costs 150/200
2684 name => 'Swarm Host',
2700 dps => [16.7, undef, undef, 20.8], # 20/.6 * 2 /60*25
2701 type => 'projectile',
2705 range => 3*25, # locust speed * duration = theoretical walk limit
2714 build => 4.8, # 5 normal but 3 faster
2726 name => 'Acid Spit',
2729 type => 'projectile',
2752 name => 'Flying Locusts',
2780 name => 'Glaive Wurm',
2784 type => 'projectile',
2794 name => 'Tissue Regeneration',
2796 desc => 'health regeneration rate increased to 1 HP per second',
2804 name => 'Corruptor',
2821 name => 'Parasite Spores',
2828 type => 'projectile',
2837 name => 'Corruption',
2838 desc => 'target unit takes 20% more damage for 30 seconds',
2849 name => 'Brood Lord',
2850 base => ['Corruptor'],
2868 name => 'Broodling Strike',
2879 name => 'Swarm Seeds',
2881 desc => 'Broodlings are spawned upon each attack',
2911 desc => 'immune to snare, stun, mind control, and movement altering effects',
2941 name => 'Blinding Cloud',
2943 desc => 'all attacks from within cloud are reduced to melee range',
2952 desc => 'pull target unit to Viper\'s location',
2960 desc => 'leaches 200 life of friendly building over 20s to gain 50 energy',
2972 name => 'Ultralisk',
2989 name => 'Kaiser Blades',
3004 desc => 'immune to snare, stun, mind control, and movement altering effects',
3010 name => 'Chitinous Plating',