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',
70 name => 'STS/A Photon Cannon',
72 cooldown => 22 / $FPS,
79 counter => ['zergling', 'tank'],
93 size => 23 / $PPT, # x19
106 name => "Psi Blades",
110 cooldown => 22 / $FPS,
118 name => 'Leg Enhancements',
119 speed => (6 - 4) * $SM,
125 counter => ['vulture'],
130 req => ['gateway', 'cybernetics core'],
152 name => "Phase Disruptor",
156 cooldown => 30 / $FPS,
164 name => 'Singularity Charge',
175 counter => ['zergling', 'zealot', 'tank'],
180 name => 'High Templar',
182 nl => 'hoge tempelier',
183 eo => 'alta templano',
205 name => "Khaydarin Amulet",
214 name => 'Psionic Storm',
219 desc => 'units in the area will receive upto 112 damage', # 14*8
225 name => 'Hallucination',
230 desc => 'creates two illusionary duplicates of a unit for 3 minutes',
236 counter => ['vulture', 'ultralisk'],
241 name => 'Dark Templar',
243 nl => 'donkere tempelier',
244 eo => 'malluma templano',
250 size => 25 / $PPT, # 24x26
263 name => "Warp Blades",
266 cooldown => 30 / $FPS,
276 desc => 'cloaked at all times',
292 base => ['templar', 'templar'],
307 name => "Psionic Shockwave",
310 cooldown => 20 / $FPS,
321 name => 'Dark Archon',
323 nl => 'donkere archont',
324 eo => 'malluma arĥono',
329 base => ['dark templar', 'dark templar'],
347 name => "Argus Talisman",
358 desc => 'targeted unit will lose its energy and receive damage equal to that amount',
364 name => 'Mind Control',
369 desc => 'permanently gives you control over any unit',
380 desc => 'field stunning all organic units for a few seconds',
383 duration => 180 / $FPS, # 7.5s fastest
399 size => 36 / $PPT, # x32
413 name => 'Dual Photon Blasters',
416 cooldown => 30 / $FPS,
421 name => 'Anti-Matter Missiles',
426 cooldown => 22 / $FPS,
434 name => 'Apial Sensors',
441 name => 'Gravitic Thrusters',
445 speed => (6.67 - 5) * $SM,
460 size => 36 / $PPT, # x32
474 name => 'Neutron Flare',
477 cooldown => 8 / $FPS,
489 name => 'Argus Jewel',
499 name => 'Disruption Web',
504 desc => 'creates a field in which no ground unit/structure can attack',
510 counter => ['devourer', 'valkyrie'],
517 nl => 'vliegdekschip',
536 dps => [17, undef, undef, 25],
545 name => 'Build Interceptor',
546 alt => 'Interceptor',
563 name => 'Pulse Cannon',
566 cooldown => 43 / $FPS, # approximately 37 according to liquipedia
572 speed => 13.33 * $SM,
577 name => 'Carrier Capacity',
580 dps => [17, undef, undef, 24],
586 counter => ['wraith', 'corsair', 'scourge'],
613 name => 'Phase Disruptor Cannon',
616 cooldown => 45 / $FPS,
627 name => 'Khaydarin Core',
639 desc => 'cloaks nearby friendly units except for other Arbiters',
643 name => 'Stasis Field',
648 desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable',
651 duration => 1000 / $FPS,
659 desc => 'creates a 5x5m wormhole which transports units to the Arbiter',
687 cooldown => 60 / $FPS, # 30 after drop
699 name => 'Scarab Damage',
717 name => 'Increased Reaver Capacity',
734 nl => 'observeerder',
756 name => "Sensor Array",
763 name => "Gravitic Booster",
767 speed => (5 - 3.33) * $SM,
774 desc => 'cloaked at all times',
790 size => 40 / $PPT, # x32
805 name => 'Gravitic Drive',
809 speed => (6.67 - 4.43) * $SM,
819 name => 'SCV', # T-280 Space Construction Vehicle
837 name => 'Fusion Cutter',
839 cooldown => 15 / $FPS,
849 name => 'Missile Turret',
867 name => 'Longbolt Missile',
869 cooldown => 15 / $FPS,
889 size => 17 / $PPT, # x20
901 name => 'Gauss Rifle',
904 cooldown => 15 / $FPS,
912 name => 'U-238 Shells',
930 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
931 speed => (6 - 4) * $SM,
935 cooldown => 7.5 / $FPS,
938 duration => 220 / $FPS,
950 size => 23 / $PPT, # x22
962 name => 'Flame Thrower',
965 cooldown => 22 / $FPS,
982 desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
983 speed => (6 - 4) * $SM,
987 cooldown => 11 / $FPS,
990 duration => 220 / $FPS,
1005 size => 15 / $PPT, # x22
1017 name => 'C-10 Canister Rifle',
1020 cooldown => 22 / $FPS,
1021 type => 'implosive',
1031 name => 'Ocular Implants',
1044 name => 'Moebius Reactor',
1049 capacity => 250-200,
1054 name => 'Personal Cloaking',
1059 desc => 'has the ability to cloak',
1061 maint => 1, # per second
1069 desc => 'disables a mechanical unit completely for one minute',
1075 name => 'Nuclear Strike',
1080 desc => 'guides a nuclear missile which will do 500 damage',
1094 size => 17 / $PPT, # x20
1109 name => 'Caduceus Reactor',
1114 capacity => 250-200,
1121 desc => 'heals 2 HP of friendly biological units',
1127 name => 'Restoration',
1132 desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit',
1138 name => 'Optic Flare',
1143 desc => 'reduces the sight of target unit to 1',
1173 name => 'Fragmentation Grenade',
1176 cooldown => 30 / $FPS,
1177 type => 'implosive',
1185 name => 'Ion Thrusters',
1189 speed => (10 - 6.4) * $SM,
1194 name => 'Spider Mine',
1199 alt => 'Spider Mine',
1200 desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
1214 type => 'explosive',
1215 range => 3, # to walk, melee to explode
1246 name => 'Arclite Cannon',
1249 cooldown => 37 / $FPS, # 15 after drop
1250 type => 'explosive',
1258 name => 'Siege Mode',
1263 alt => 'Sieged Tank',
1267 name => 'Arclite Shock Cannon',
1270 cooldown => 75 / $FPS,
1272 type => 'explosive',
1273 range => 12, # minimum 2
1303 name => 'Twin Autocannons',
1306 cooldown => 22 / $FPS, # 15 after drop
1311 name => 'Hellfire Missile Pack',
1315 type => 'explosive',
1316 cooldown => 22 / $FPS,
1321 speed => 4.57 * $SM,
1324 name => 'Charon Boosters',
1345 size => 38 / $PPT, # x30
1358 name => 'Burst Lasers',
1361 cooldown => 30 / $FPS,
1366 name => 'Gemini Missiles',
1369 cooldown => 22 / $FPS,
1370 type => 'explosive',
1375 speed => 6.67 * $SM,
1385 desc => 'has the ability to cloak',
1387 maint => 1, # /second
1392 name => 'Apollo Reactor',
1397 capacity => 250-200,
1404 name => 'Battle Cruiser',
1406 nl => 'slagkruiser',
1412 size => 75 / $PPT, # x59
1425 name => 'ATS/A Laser Battery',
1428 cooldown => 30 / $FPS,
1438 name => 'Yamato Gun',
1443 desc => 'blast doing 260 explosive damage to a target',
1448 type => 'explosive',
1457 name => 'Colossus Reactor',
1462 capacity => 250-200,
1469 name => 'Science Vessel',
1471 nl => 'wetenschapsvaartuig',
1477 size => 65 / $PPT, # x50
1494 name => 'Defensive Matrix',
1496 desc => 'gives target unit a shield of 250HP for one minute',
1502 name => 'EMP Shockwave',
1507 desc => 'units in 3-matrix radius will lose all energy and shields',
1512 name => 'Irradiate',
1517 desc => 'organic units will suffer upto 250 damage over 30s',
1529 name => 'Titan Reactor',
1534 capacity => 250-200,
1549 size => 49 / $PPT, # x37
1562 name => 'Halo Rockets',
1565 cooldown => 64 / $FPS,
1567 type => 'explosive',
1583 size => 49 / $PPT, # x37
1595 speed => 5.47 * $SM,
1623 cooldown => 22 / $FPS,
1628 speed => 4.92 * $SM,
1656 name => 'Ventral Sacs',
1670 name => 'Pneumatized Carapace',
1674 speed => (3.33 - .83) * $SM,
1696 speed => 0.1, # more or less
1699 name => 'transform',
1706 organic => undef, # unchanged from parent
1717 name => 'Sunken Colony',
1732 name => 'Subterranean Tentacle',
1734 cooldown => 32 / $FPS,
1735 type => 'explosive',
1745 name => 'Spore Colony',
1760 name => 'Seeker Spores',
1762 cooldown => 15 / $FPS,
1776 build => 28, # for 2
1793 cooldown => 8 / $FPS,
1798 speed => 5.49 * $SM,
1801 name => 'Metabolic Boost',
1805 speed => (8.36 - 5.49) * $SM,
1808 name => 'Adrenal Glands',
1814 cooldown => (6 - 8) / $FPS,
1819 counter => ['archon', 'templar', 'firebat'],
1824 name => 'Hydralisk',
1829 size => 21 / $PPT, # x23
1841 name => 'Needle Spines',
1844 cooldown => 15 / $FPS,
1845 type => 'explosive',
1850 speed => 3.66 * $SM,
1853 name => 'Grooved Spines',
1864 name => 'Muscular Augments',
1868 speed => (5.57 - 3.66) * $SM,
1871 name => 'Lurker Aspect',
1884 base => 'hydralisk',
1899 name => 'Subterranean Spines',
1902 cooldown => 37 / $FPS,
1908 speed => 5.82 * $SM,
1929 speed => 6.67 * $SM,
1934 name => 'Infest CC',
1936 desc => 'assimilate a damaged Terran Command Center to produce infested marines',
1942 desc => "shares an infected unit's vision",
1952 desc => 'slows units downto half speed',
1958 name => 'Spawn Broodling',
1963 desc => 'spawn one inside an enemy unit killing it',
1980 name => 'Toxic Spores',
1983 cooldown => 15 / $FPS,
1995 name => 'Infested Terran',
2000 size => 17 / $PPT, # x20
2014 type => 'explosive',
2019 speed => 5.82 * $SM,
2027 build => 30, # for 2
2048 speed => 6.67 * $SM,
2049 counter => ['cannon', 'goliath', 'hydralisk'],
2072 name => 'Glave Wurm',
2075 cooldown => 30 / $FPS,
2081 speed => 6.67 * $SM,
2098 counter => ['templar', 'corsair', 'valkyrie'],
2122 name => 'Acid Spore',
2125 cooldown => 30 / $FPS,
2154 name => 'Corrosive Acid',
2157 cooldown => 100 / $FPS,
2158 type => 'explosive',
2164 counter => ['goliath', 'dragoon', 'scourge'],
2174 size => 27 / $PPT, # x25
2194 desc => 'gain energy by eating one of your own',
2199 name => 'Dark Swarm',
2201 desc => 'protect 6x6m from ranged attacks for 60s',
2212 desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left',
2220 name => 'Metasynaptic Node',
2225 capacity => 250-200,
2228 counter => ['archon', 'firebat'],
2233 name => 'Ultralisk',
2238 size => 38 / $PPT, # x32
2250 name => 'Kaiser Blades',
2253 cooldown => 15 / $FPS,
2258 speed => 5.12 * $SM,
2261 name => 'Chitinous Plating',
2268 name => 'Anabolic Synthesis',
2272 speed => (8.1 - 5.12) * $SM,