4 my $PPT = 32; # tile size in pixels
5 my $FPS = 1000 / 56; # frames per second on fast
6 # energy += 8HP/frame ≈ .74 per second
7 # toss shield += 7HP/frame ≈ .65/s
8 # zerg regen += 4HP/frame ≈ .37/s
9 my $SM = $FPS / $PPT; # pixels per frame to tiles per second multiplication
12 '<span title="no known changes as of v1.16.1">version≥1.08</span>',
37 name => "Particle Beam",
39 cooldown => 22 / $FPS,
45 counter => ['vulture', 'dark templar'],
50 desc => "warp-in buildings and gather minerals (65/minute) or gas (103/minute)",
58 name => 'Photon Cannon',
77 name => 'STS/A Photon Cannon',
79 cooldown => 22 / $FPS,
86 counter => ['zergling', 'tank'],
100 size => 23 / $PPT, # x19
113 name => "Psi Blades",
117 cooldown => 22 / $FPS,
125 name => 'Leg Enhancements',
126 speed => (6 - 4) * $SM,
132 counter => ['vulture'],
137 req => ['gateway', 'cybernetics core'],
159 name => "Phase Disruptor",
163 cooldown => 30 / $FPS,
171 name => 'Singularity Charge',
182 counter => ['zergling', 'zealot', 'tank'],
187 name => 'High Templar',
189 nl => 'hoge tempelier',
190 eo => 'alta templano',
212 name => "Khaydarin Amulet",
221 name => 'Psionic Storm',
226 desc => 'units in the area will receive upto 112 damage', # 14*8
232 name => 'Hallucination',
237 desc => 'creates two illusionary duplicates of a unit for 3 minutes',
243 counter => ['vulture', 'ultralisk'],
248 name => 'Dark Templar',
250 nl => 'donkere tempelier',
251 eo => 'malluma templano',
257 size => 25 / $PPT, # 24x26
270 name => "Warp Blades",
273 cooldown => 30 / $FPS,
283 desc => 'cloaked at all times',
299 base => ['templar', 'templar'],
314 name => "Psionic Shockwave",
317 cooldown => 20 / $FPS,
328 name => 'Dark Archon',
330 nl => 'donkere archont',
331 eo => 'malluma arĥono',
336 base => ['dark templar', 'dark templar'],
354 name => "Argus Talisman",
365 desc => 'targeted unit will lose its energy and receive damage equal to that amount',
371 name => 'Mind Control',
376 desc => 'permanently gives you control over any unit',
387 desc => 'field stunning all organic units for a few seconds',
390 duration => 180 / $FPS, # 7.5s fastest
406 size => 36 / $PPT, # x32
420 name => 'Dual Photon Blasters',
423 cooldown => 30 / $FPS,
428 name => 'Anti-Matter Missiles',
433 cooldown => 22 / $FPS,
441 name => 'Apial Sensors',
448 name => 'Gravitic Thrusters',
452 speed => (6.67 - 5) * $SM,
467 size => 36 / $PPT, # x32
481 name => 'Neutron Flare',
484 cooldown => 8 / $FPS,
496 name => 'Argus Jewel',
506 name => 'Disruption Web',
511 desc => 'creates a field in which no ground unit/structure can attack',
517 counter => ['devourer', 'valkyrie'],
524 nl => 'vliegdekschip',
543 dps => [17, undef, undef, 25],
552 name => 'Build Interceptor',
553 alt => 'Interceptor',
570 name => 'Pulse Cannon',
573 cooldown => 43 / $FPS, # approximately 37 according to liquipedia
579 speed => 13.33 * $SM,
584 name => 'Carrier Capacity',
587 dps => [17, undef, undef, 24],
593 counter => ['wraith', 'corsair', 'scourge'],
620 name => 'Phase Disruptor Cannon',
623 cooldown => 45 / $FPS,
634 name => 'Khaydarin Core',
646 desc => 'cloaks nearby friendly units except for other Arbiters',
650 name => 'Stasis Field',
655 desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
658 duration => 1000 / $FPS,
666 desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
694 cooldown => 60 / $FPS, # 30 after drop
706 name => 'Scarab Damage',
724 name => 'Increased Reaver Capacity',
741 nl => 'observeerder',
763 name => "Sensor Array",
770 name => "Gravitic Booster",
774 speed => (5 - 3.33) * $SM,
781 desc => 'cloaked at all times',
797 size => 40 / $PPT, # x32
812 name => 'Gravitic Drive',
816 speed => (6.67 - 4.43) * $SM,
826 name => 'SCV', # T-280 Space Construction Vehicle
844 name => 'Fusion Cutter',
846 cooldown => 15 / $FPS,
856 desc => "construct or repair buildings and gather minerals (68/minute) or gas (103/minute)",
863 name => 'Missile Turret',
881 name => 'Longbolt Missile',
883 cooldown => 15 / $FPS,
903 size => 17 / $PPT, # x20
915 name => 'Gauss Rifle',
918 cooldown => 15 / $FPS,
926 name => 'U-238 Shells',
944 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
945 speed => (6 - 4) * $SM,
949 cooldown => 7.5 / $FPS,
952 duration => 220 / $FPS,
964 size => 23 / $PPT, # x22
976 name => 'Flame Thrower',
979 cooldown => 22 / $FPS,
996 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
997 speed => (6 - 4) * $SM,
1001 cooldown => 11 / $FPS,
1004 duration => 220 / $FPS,
1019 size => 15 / $PPT, # x22
1031 name => 'C-10 Canister Rifle',
1034 cooldown => 22 / $FPS,
1035 type => 'implosive',
1045 name => 'Ocular Implants',
1058 name => 'Moebius Reactor',
1063 capacity => 250-200,
1068 name => 'Personal Cloaking',
1073 desc => 'has the ability to cloak',
1075 maint => 1, # per second
1083 desc => 'disables a mechanical unit completely for one minute',
1089 name => 'Nuclear Strike',
1094 desc => 'guides a nuclear missile which will do 500 damage',
1108 size => 17 / $PPT, # x20
1123 name => 'Caduceus Reactor',
1128 capacity => 250-200,
1135 desc => 'heals 2 HP of friendly biological units',
1141 name => 'Restoration',
1146 desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
1152 name => 'Optic Flare',
1157 desc => 'reduces the sight of target unit to 1',
1187 name => 'Fragmentation Grenade',
1190 cooldown => 30 / $FPS,
1191 type => 'implosive',
1199 name => 'Ion Thrusters',
1203 speed => (10 - 6.4) * $SM,
1208 name => 'Spider Mine',
1213 alt => 'Spider Mine',
1214 desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
1228 type => 'explosive',
1229 range => 3, # to walk, melee to explode
1260 name => 'Arclite Cannon',
1263 cooldown => 37 / $FPS, # 15 after drop
1264 type => 'explosive',
1272 name => 'Siege Mode',
1277 alt => 'Sieged Tank',
1281 name => 'Arclite Shock Cannon',
1284 cooldown => 75 / $FPS,
1286 type => 'explosive',
1287 range => 12, # minimum 2
1317 name => 'Twin Autocannons',
1320 cooldown => 22 / $FPS, # 15 after drop
1325 name => 'Hellfire Missile Pack',
1329 type => 'explosive',
1330 cooldown => 22 / $FPS,
1335 speed => 4.57 * $SM,
1338 name => 'Charon Boosters',
1359 size => 38 / $PPT, # x30
1372 name => 'Burst Lasers',
1375 cooldown => 30 / $FPS,
1380 name => 'Gemini Missiles',
1383 cooldown => 22 / $FPS,
1384 type => 'explosive',
1389 speed => 6.67 * $SM,
1399 desc => 'has the ability to cloak',
1401 maint => 1, # /second
1406 name => 'Apollo Reactor',
1411 capacity => 250-200,
1418 name => 'Battle Cruiser',
1420 nl => 'slagkruiser',
1426 size => 75 / $PPT, # x59
1439 name => 'ATS/A Laser Battery',
1442 cooldown => 30 / $FPS,
1452 name => 'Yamato Gun',
1457 desc => 'blast doing 260 explosive damage to a target',
1462 type => 'explosive',
1471 name => 'Colossus Reactor',
1476 capacity => 250-200,
1483 name => 'Science Vessel',
1485 nl => 'wetenschapsvaartuig',
1491 size => 65 / $PPT, # x50
1508 name => 'Defensive Matrix',
1510 desc => 'gives target unit a shield of 250HP for one minute',
1516 name => 'EMP Shockwave',
1521 desc => 'units in 3-matrix radius will lose all energy and shields',
1526 name => 'Irradiate',
1531 desc => 'organic units will suffer upto 250 damage over 30s',
1543 name => 'Titan Reactor',
1548 capacity => 250-200,
1563 size => 49 / $PPT, # x37
1576 name => 'Halo Rockets',
1579 cooldown => 64 / $FPS,
1581 type => 'explosive',
1597 size => 49 / $PPT, # x37
1609 speed => 5.47 * $SM,
1637 cooldown => 22 / $FPS,
1642 speed => 4.92 * $SM,
1647 desc => "morph into buildings and gather minerals (67/minute) or gas (103/minute)",
1677 name => 'Ventral Sacs',
1691 name => 'Pneumatized Carapace',
1695 speed => (3.33 - .83) * $SM,
1717 speed => 0.1, # more or less
1720 name => 'transform',
1727 organic => undef, # unchanged from parent
1738 name => 'Sunken Colony',
1753 name => 'Subterranean Tentacle',
1755 cooldown => 32 / $FPS,
1756 type => 'explosive',
1766 name => 'Spore Colony',
1781 name => 'Seeker Spores',
1783 cooldown => 15 / $FPS,
1797 build => 28, # for 2
1814 cooldown => 8 / $FPS,
1819 speed => 5.49 * $SM,
1822 name => 'Metabolic Boost',
1826 speed => (8.36 - 5.49) * $SM,
1829 name => 'Adrenal Glands',
1835 cooldown => (6 - 8) / $FPS,
1840 counter => ['archon', 'templar', 'firebat'],
1845 name => 'Hydralisk',
1850 size => 21 / $PPT, # x23
1862 name => 'Needle Spines',
1865 cooldown => 15 / $FPS,
1866 type => 'explosive',
1871 speed => 3.66 * $SM,
1874 name => 'Grooved Spines',
1885 name => 'Muscular Augments',
1889 speed => (5.57 - 3.66) * $SM,
1892 name => 'Lurker Aspect',
1905 base => ['hydralisk'],
1920 name => 'Subterranean Spines',
1923 cooldown => 37 / $FPS,
1929 speed => 5.82 * $SM,
1950 speed => 6.67 * $SM,
1955 name => 'Infest CC',
1957 desc => 'assimilate a damaged Terran Command Center to produce infested marines',
1963 desc => "shares an infected unit's vision",
1973 desc => 'slows units downto half speed',
1979 name => 'Spawn Broodling',
1984 desc => 'spawn one inside an enemy unit killing it',
2001 name => 'Toxic Spores',
2004 cooldown => 15 / $FPS,
2016 name => 'Infested Terran',
2021 size => 17 / $PPT, # x20
2035 type => 'explosive',
2040 speed => 5.82 * $SM,
2048 build => 30, # for 2
2069 speed => 6.67 * $SM,
2070 counter => ['cannon', 'goliath', 'hydralisk'],
2093 name => 'Glave Wurm',
2096 cooldown => 30 / $FPS,
2102 speed => 6.67 * $SM,
2119 counter => ['templar', 'corsair', 'valkyrie'],
2128 base => ['mutalisk'],
2143 name => 'Acid Spore',
2146 cooldown => 30 / $FPS,
2160 base => ['mutalisk'],
2175 name => 'Corrosive Acid',
2178 cooldown => 100 / $FPS,
2179 type => 'explosive',
2185 counter => ['goliath', 'dragoon', 'scourge'],
2195 size => 27 / $PPT, # x25
2215 desc => 'gain energy by eating one of your own',
2220 name => 'Dark Swarm',
2222 desc => 'protect 6x6m from ranged attacks for 60s',
2233 desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
2241 name => 'Metasynaptic Node',
2246 capacity => 250-200,
2249 counter => ['archon', 'firebat'],
2254 name => 'Ultralisk',
2259 size => 38 / $PPT, # x32
2271 name => 'Kaiser Blades',
2274 cooldown => 15 / $FPS,
2279 speed => 5.12 * $SM,
2282 name => 'Chitinous Plating',
2289 name => 'Anabolic Synthesis',
2293 speed => (8.1 - 5.12) * $SM,