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'],
51 name => 'Photon Cannon',
71 cooldown => 22 / $FPS,
78 counter => ['zergling', 'tank'],
92 size => 23 / $PPT, # x19
105 name => "Psi Blades",
108 cooldown => 22 / $FPS,
116 name => 'Leg Enhancements',
117 speed => (6 - 4) * $SM,
123 counter => ['vulture'],
128 req => ['gateway', 'cybernetics core'],
150 name => "Phase Disruptor",
154 cooldown => 30 / $FPS,
162 name => 'Singularity Charge',
173 counter => ['zergling', 'zealot', 'tank'],
178 name => 'High Templar',
180 nl => 'hoge tempelier',
181 eo => 'alta templano',
203 name => "Khaydarin Amulet",
212 name => 'Psionic Storm',
217 desc => 'units in the area will receive upto 112 damage', # 14*8
223 name => 'Hallucination',
228 desc => 'creates two illusionary duplicates of a unit for 3 minutes',
234 counter => ['vulture', 'ultralisk'],
239 name => 'Dark Templar',
241 nl => 'donkere tempelier',
242 eo => 'malluma templano',
248 size => 25 / $PPT, # 24x26
261 name => "Warp Blades",
264 cooldown => 30 / $FPS,
274 desc => 'cloaked at all times',
290 base => ['templar', 'templar'],
305 name => "Psionic Shockwave",
308 cooldown => 20 / $FPS,
319 name => 'Dark Archon',
321 nl => 'donkere archont',
322 eo => 'malluma arĥono',
327 base => ['dark templar', 'dark templar'],
345 name => "Argus Talisman",
356 desc => 'targeted unit will lose its energy and receive damage equal to that amount',
362 name => 'Mind Control',
367 desc => 'permanently gives you control over any unit',
378 desc => 'field stunning all organic units for a few seconds',
381 duration => 180 / $FPS, # 7.5s fastest
397 size => 36 / $PPT, # x32
413 cooldown => 30 / $FPS,
421 cooldown => 22 / $FPS,
429 name => 'Apial Sensors',
436 name => 'Gravitic Thrusters',
440 speed => (6.67 - 5) * $SM,
455 size => 36 / $PPT, # x32
471 cooldown => 8 / $FPS,
483 name => 'Argus Jewel',
493 name => 'Disruption Web',
498 desc => 'creates a field in which no ground unit/structure can attack',
504 counter => ['devourer', 'valkyrie'],
511 nl => 'vliegdekschip',
530 dps => [17, undef, undef, 25],
539 name => 'Build Interceptor',
540 alt => 'Interceptor',
559 cooldown => 43 / $FPS, # approximately 37 according to liquipedia
566 speed => 13.33 * $SM,
571 name => 'Carrier Capacity',
574 dps => [17, undef, undef, 24],
580 counter => ['wraith', 'corsair', 'scourge'],
609 cooldown => 45 / $FPS,
620 name => 'Khaydarin Core',
632 desc => 'cloaks nearby friendly units except for other Arbiters',
636 name => 'Stasis Field',
641 desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
644 duration => 1000 / $FPS,
652 desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
680 cooldown => 60 / $FPS, # 30 after drop
692 name => 'Scarab Damage',
710 name => 'Increased Reaver Capacity',
727 nl => 'observeerder',
749 name => "Sensor Array",
756 name => "Gravitic Booster",
760 speed => (5 - 3.33) * $SM,
767 desc => 'cloaked at all times',
783 size => 40 / $PPT, # x32
798 name => 'Gravitic Drive',
802 speed => (6.67 - 4.43) * $SM,
812 name => 'SCV', # T-280 Space Construction Vehicle
831 cooldown => 15 / $FPS,
841 name => 'Missile Turret',
860 cooldown => 15 / $FPS,
880 size => 17 / $PPT, # x20
894 cooldown => 15 / $FPS,
902 name => 'U-238 Shells',
920 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
921 speed => (6 - 4) * $SM,
925 cooldown => 7.5 / $FPS,
928 duration => 220 / $FPS,
940 size => 23 / $PPT, # x22
954 cooldown => 22 / $FPS,
971 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
972 speed => (6 - 4) * $SM,
976 cooldown => 11 / $FPS,
979 duration => 220 / $FPS,
994 size => 15 / $PPT, # x22
1008 cooldown => 22 / $FPS,
1009 type => 'implosive',
1019 name => 'Ocular Implants',
1032 name => 'Moebius Reactor',
1037 capacity => 250-200,
1042 name => 'Personal Cloaking',
1047 desc => 'has the ability to cloak',
1049 maint => 1, # per second
1057 desc => 'disables a mechanical unit completely for one minute',
1063 name => 'Nuclear Strike',
1068 desc => 'guides a nuclear missile which will do 500 damage',
1082 size => 17 / $PPT, # x20
1097 name => 'Caduceus Reactor',
1102 capacity => 250-200,
1109 desc => 'heals 2 HP of friendly biological units',
1115 name => 'Restoration',
1120 desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
1126 name => 'Optic Flare',
1131 desc => 'reduces the sight of target unit to 1',
1163 cooldown => 30 / $FPS,
1164 type => 'implosive',
1172 name => 'Ion Thrusters',
1176 speed => (10 - 6.4) * $SM,
1181 name => 'Spider Mine',
1186 alt => 'Spider Mine',
1187 desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
1201 type => 'explosive',
1235 cooldown => 37 / $FPS, # 15 after drop
1236 type => 'explosive',
1244 name => 'Siege Mode',
1249 alt => 'Sieged Tank',
1255 cooldown => 75 / $FPS,
1257 type => 'explosive',
1290 cooldown => 22 / $FPS, # 15 after drop
1297 type => 'explosive',
1298 cooldown => 22 / $FPS,
1303 speed => 4.57 * $SM,
1306 name => 'Charon Boosters',
1327 size => 38 / $PPT, # x30
1342 cooldown => 30 / $FPS,
1349 cooldown => 22 / $FPS,
1350 type => 'explosive',
1355 speed => 6.67 * $SM,
1365 desc => 'has the ability to cloak',
1367 maint => 1, # /second
1372 name => 'Apollo Reactor',
1377 capacity => 250-200,
1384 name => 'Battle Cruiser',
1386 nl => 'slagkruiser',
1392 size => 75 / $PPT, # x59
1407 cooldown => 30 / $FPS,
1417 name => 'Yamato Gun',
1422 desc => 'blast doing 260 damage to a target',
1435 name => 'Colossus Reactor',
1440 capacity => 250-200,
1447 name => 'Science Vessel',
1449 nl => 'wetenschapsvaartuig',
1455 size => 65 / $PPT, # x50
1472 name => 'Defensive Matrix',
1474 desc => 'gives target unit a shield of 250HP for one minute',
1480 name => 'EMP Shockwave',
1485 desc => 'units in 3-matrix radius will lose all energy and shields',
1490 name => 'Irradiate',
1495 desc => 'organic units will suffer upto 250 damage over 30s',
1507 name => 'Titan Reactor',
1512 capacity => 250-200,
1527 size => 49 / $PPT, # x37
1542 cooldown => 64 / $FPS,
1544 type => 'explosive',
1560 size => 49 / $PPT, # x37
1572 speed => 5.47 * $SM,
1599 cooldown => 22 / $FPS,
1604 speed => 4.92 * $SM,
1632 name => 'Ventral Sacs',
1646 name => 'Pneumatized Carapace',
1650 speed => (3.33 - .83) * $SM,
1672 speed => 0.1, # more or less
1675 name => 'transform',
1682 organic => undef, # unchanged from parent
1693 name => 'Sunken Colony',
1709 cooldown => 32 / $FPS,
1710 type => 'explosive',
1720 name => 'Spore Colony',
1736 cooldown => 15 / $FPS,
1750 build => 28, # for 2
1766 cooldown => 8 / $FPS,
1771 speed => 5.49 * $SM,
1774 name => 'Metabolic Boost',
1778 speed => (8.36 - 5.49) * $SM,
1781 name => 'Adrenal Glands',
1787 cooldown => (6 - 8) / $FPS,
1792 counter => ['archon', 'templar', 'firebat'],
1797 name => 'Hydralisk',
1802 size => 21 / $PPT, # x23
1816 cooldown => 15 / $FPS,
1817 type => 'explosive',
1822 speed => 3.66 * $SM,
1825 name => 'Grooved Spines',
1836 name => 'Muscular Augments',
1840 speed => (5.57 - 3.66) * $SM,
1843 name => 'Lurker Aspect',
1856 base => 'hydralisk',
1873 cooldown => 37 / $FPS,
1879 speed => 5.82 * $SM,
1900 speed => 6.67 * $SM,
1905 name => 'Infest CC',
1907 desc => 'assimilate a damaged Terran Command Center to produce infested marines',
1913 desc => "shares an infected unit's vision",
1923 desc => 'slows units downto half speed',
1929 name => 'Spawn Broodling',
1934 desc => 'spawn one inside an enemy unit killing it',
1953 cooldown => 15 / $FPS,
1965 name => 'Infested Terran',
1970 size => 17 / $PPT, # x20
1983 type => 'explosive',
1988 speed => 5.82 * $SM,
1996 build => 30, # for 2
2016 speed => 6.67 * $SM,
2017 counter => ['cannon', 'goliath', 'hydralisk'],
2042 cooldown => 30 / $FPS,
2048 speed => 6.67 * $SM,
2065 counter => ['templar', 'corsair', 'valkyrie'],
2091 cooldown => 30 / $FPS,
2122 cooldown => 100 / $FPS,
2123 type => 'explosive',
2129 counter => ['goliath', 'dragoon', 'scourge'],
2139 size => 27 / $PPT, # x25
2159 desc => 'gain energy by eating one of your own',
2164 name => 'Dark Swarm',
2166 desc => 'protect 6x6m from ranged attacks for 60s',
2177 desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
2185 name => 'Metasynaptic Node',
2190 capacity => 250-200,
2193 counter => ['archon', 'firebat'],
2198 name => 'Ultralisk',
2203 size => 38 / $PPT, # x32
2217 cooldown => 15 / $FPS,
2222 speed => 5.12 * $SM,
2225 name => 'Chitinous Plating',
2232 name => 'Anabolic Synthesis',
2236 speed => (8.1 - 5.12) * $SM,