4 my $FPS = 1000 / 56; # frames per second on fast
5 # energy += 8HP/frame ≈ .74 per second
6 # toss shield += 7HP/frame ≈ .65/s
7 # zerg regen += 4HP/frame ≈ .37/s
8 my $SM = $FPS / 32; # pixels per frame to tiles per second multiplication
11 '<span title="no known changes as of v1.16.1">version≥1.08</span>',
35 name => "Particle Beam",
37 cooldown => 22 / $FPS,
43 counter => ['vulture', 'dark templar'],
49 name => 'Photon Cannon',
68 cooldown => 22 / $FPS,
75 counter => ['zergling', 'tank'],
101 name => "Psi Blades",
104 cooldown => 22 / $FPS,
112 name => 'Leg Enhancements',
113 speed => (6 - 4) * $SM,
119 counter => ['vulture'],
124 req => ['gateway', 'cybernetics core'],
145 name => "Phase Disruptor",
149 cooldown => 30 / $FPS,
157 name => 'Singularity Charge',
168 counter => ['zergling', 'zealot', 'tank'],
173 name => 'High Templar',
175 nl => 'hoge tempelier',
176 eo => 'alta templano',
197 name => "Khaydarin Amulet",
206 name => 'Psionic Storm',
211 desc => 'units in the area will receive upto 112 damage', # 14*8
217 name => 'Hallucination',
222 desc => 'creates two illusionary duplicates of a unit for 3 minutes',
228 counter => ['vulture', 'ultralisk'],
233 name => 'Dark Templar',
235 nl => 'donkere tempelier',
236 eo => 'malluma templano',
254 name => "Warp Blades",
257 cooldown => 30 / $FPS,
267 desc => 'cloaked at all times',
283 base => ['templar', 'templar'],
297 name => "Psionic Shockwave",
300 cooldown => 20 / $FPS,
311 name => 'Dark Archon',
313 nl => 'donkere archont',
314 eo => 'malluma arĥono',
319 base => ['dark templar', 'dark templar'],
336 name => "Argus Talisman",
347 desc => 'targeted unit will lose its energy and receive damage equal to that amount',
353 name => 'Mind Control',
358 desc => 'permanently gives you control over any unit',
369 desc => 'field stunning all organic units for a few seconds',
372 duration => 180 / $FPS, # 7.5s fastest
403 cooldown => 30 / $FPS,
411 cooldown => 22 / $FPS,
419 name => 'Apial Sensors',
426 name => 'Gravitic Thrusters',
430 speed => (6.67 - 5) * $SM,
460 cooldown => 8 / $FPS,
472 name => 'Argus Jewel',
482 name => 'Disruption Web',
487 desc => 'creates a field in which no ground unit/structure can attack',
493 counter => ['devourer', 'valkyrie'],
500 nl => 'vliegdekschip',
518 dps => [17, undef, undef, 25],
527 name => 'Build Interceptor',
528 alt => 'Interceptor',
546 cooldown => 43 / $FPS, # approximately 37 according to liquipedia
553 speed => 13.33 * $SM,
558 name => 'Carrier Capacity',
561 dps => [17, undef, undef, 24],
567 counter => ['wraith', 'corsair', 'scourge'],
595 cooldown => 45 / $FPS,
606 name => 'Khaydarin Core',
618 desc => 'cloaks nearby friendly units except for other Arbiters',
622 name => 'Stasis Field',
627 desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
630 duration => 1000 / $FPS,
638 desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
665 cooldown => 60 / $FPS, # 30 after drop
677 name => 'Scarab Damage',
695 name => 'Increased Reaver Capacity',
712 nl => 'observeerder',
733 name => "Sensor Array",
740 name => "Gravitic Booster",
744 speed => (5 - 3.33) * $SM,
751 desc => 'cloaked at all times',
781 name => 'Gravitic Drive',
785 speed => (6.67 - 4.43) * $SM,
795 name => 'SCV', # T-280 Space Construction Vehicle
813 cooldown => 15 / $FPS,
823 name => 'Missile Turret',
841 cooldown => 15 / $FPS,
874 cooldown => 15 / $FPS,
882 name => 'U-238 Shells',
900 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
901 speed => (6 - 4) * $SM,
905 cooldown => 7.5 / $FPS,
908 duration => 220 / $FPS,
933 cooldown => 22 / $FPS,
950 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
951 speed => (6 - 4) * $SM,
955 cooldown => 11 / $FPS,
958 duration => 220 / $FPS,
986 cooldown => 22 / $FPS,
997 name => 'Ocular Implants',
1010 name => 'Moebius Reactor',
1015 capacity => 250-200,
1020 name => 'Personal Cloaking',
1025 desc => 'has the ability to cloak',
1027 maint => 1, # per second
1035 desc => 'disables a mechanical unit completely for one minute',
1041 name => 'Nuclear Strike',
1046 desc => 'guides a nuclear missile which will do 500 damage',
1074 name => 'Caduceus Reactor',
1079 capacity => 250-200,
1086 desc => 'heals 2 HP of friendly biological units',
1092 name => 'Restoration',
1097 desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
1103 name => 'Optic Flare',
1108 desc => 'reduces the sight of target unit to 1',
1139 cooldown => 30 / $FPS,
1140 type => 'implosive',
1148 name => 'Ion Thrusters',
1152 speed => (10 - 6.4) * $SM,
1157 name => 'Spider Mine',
1162 alt => 'Spider Mine',
1163 desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
1176 type => 'explosive',
1209 cooldown => 37 / $FPS, # 15 after drop
1210 type => 'explosive',
1218 name => 'Siege Mode',
1223 alt => 'Sieged Tank',
1229 cooldown => 75 / $FPS,
1231 type => 'explosive',
1263 cooldown => 22 / $FPS, # 15 after drop
1270 type => 'explosive',
1271 cooldown => 22 / $FPS,
1276 speed => 4.57 * $SM,
1279 name => 'Charon Boosters',
1314 cooldown => 30 / $FPS,
1321 cooldown => 22 / $FPS,
1322 type => 'explosive',
1327 speed => 6.67 * $SM,
1337 desc => 'has the ability to cloak',
1339 maint => 1, # /second
1344 name => 'Apollo Reactor',
1349 capacity => 250-200,
1356 name => 'Battle Cruiser',
1358 nl => 'slagkruiser',
1378 cooldown => 30 / $FPS,
1388 name => 'Yamato Gun',
1393 desc => 'blast doing 260 damage to a target',
1406 name => 'Colossus Reactor',
1411 capacity => 250-200,
1418 name => 'Science Vessel',
1420 nl => 'wetenschapsvaartuig',
1442 name => 'Defensive Matrix',
1444 desc => 'gives target unit a shield of 250HP for one minute',
1450 name => 'EMP Shockwave',
1455 desc => 'units in 3-matrix radius will lose all energy and shields',
1460 name => 'Irradiate',
1465 desc => 'organic units will suffer upto 250 damage over 30s',
1477 name => 'Titan Reactor',
1482 capacity => 250-200,
1511 cooldown => 64 / $FPS,
1513 type => 'explosive',
1540 speed => 5.47 * $SM,
1566 cooldown => 22 / $FPS,
1571 speed => 4.92 * $SM,
1598 name => 'Ventral Sacs',
1612 name => 'Pneumatized Carapace',
1616 speed => (3.33 - .83) * $SM,
1637 speed => 0.1, # more or less
1640 name => 'transform',
1647 organic => undef, # unchanged from parent
1658 name => 'Sunken Colony',
1673 cooldown => 32 / $FPS,
1674 type => 'explosive',
1684 name => 'Spore Colony',
1699 cooldown => 15 / $FPS,
1713 build => 28, # for 2
1728 cooldown => 8 / $FPS,
1733 speed => 5.49 * $SM,
1736 name => 'Metabolic Boost',
1740 speed => (8.36 - 5.49) * $SM,
1743 name => 'Adrenal Glands',
1749 cooldown => (6 - 8) / $FPS,
1754 counter => ['archon', 'templar', 'firebat'],
1759 name => 'Hydralisk',
1777 cooldown => 15 / $FPS,
1778 type => 'explosive',
1783 speed => 3.66 * $SM,
1786 name => 'Grooved Spines',
1797 name => 'Muscular Augments',
1801 speed => (5.57 - 3.66) * $SM,
1804 name => 'Lurker Aspect',
1817 base => 'hydralisk',
1833 cooldown => 37 / $FPS,
1839 speed => 5.82 * $SM,
1859 speed => 6.67 * $SM,
1864 name => 'Infest CC',
1866 desc => 'assimilate a damaged Terran Command Center to produce infested marines',
1872 desc => "shares an infected unit's vision",
1882 desc => 'slows units downto half speed',
1888 name => 'Spawn Broodling',
1893 desc => 'spawn one inside an enemy unit killing it',
1911 cooldown => 15 / $FPS,
1923 name => 'Infested Terran',
1940 type => 'explosive',
1945 speed => 5.82 * $SM,
1953 build => 30, # for 2
1972 speed => 6.67 * $SM,
1973 counter => ['cannon', 'goliath', 'hydralisk'],
1997 cooldown => 30 / $FPS,
2003 speed => 6.67 * $SM,
2019 counter => ['templar', 'corsair', 'valkyrie'],
2044 cooldown => 30 / $FPS,
2074 cooldown => 100 / $FPS,
2075 type => 'explosive',
2081 counter => ['goliath', 'dragoon', 'scourge'],
2110 desc => 'gain energy by eating one of your own',
2115 name => 'Dark Swarm',
2117 desc => 'protect 6x6m from ranged attacks for 60s',
2128 desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
2136 name => 'Metasynaptic Node',
2141 capacity => 250-200,
2144 counter => ['archon', 'firebat'],
2149 name => 'Ultralisk',
2167 cooldown => 15 / $FPS,
2172 speed => 5.12 * $SM,
2175 name => 'Chitinous Plating',
2182 name => 'Anabolic Synthesis',
2186 speed => (8.1 - 5.12) * $SM,