X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e9ee5e5e683bffd3ffef39896a2735fde7117eb1..6962abaabd527e65ec7f6e719ec2a42ef1f5fadb:/sc-units-bw.inc.pl diff --git a/sc-units-bw.inc.pl b/sc-units-bw.inc.pl index 7d59dc4..74cfba0 100644 --- a/sc-units-bw.inc.pl +++ b/sc-units-bw.inc.pl @@ -5,6 +5,7 @@ use strict; my $FPS = 24; # frames per second # toss shield += .65 per second # zerg regen += .37 per second +my $SM = .555; # pixels per frame to tiles per second multiplication [ 'version≥1.08', @@ -20,8 +21,11 @@ gas => 0, build => 20, suit => 1, pop => 1, +cargo => 1, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 20, shield => 20, armor => 0, @@ -35,7 +39,7 @@ attack => [ }, ], sight => 8, -speed => 14, +speed => 5 * $SM, counter => ['vulture', 'dark templar'], }, @@ -51,6 +55,9 @@ gas => 0, build => 50, suit => 3, race => 'protoss', +attr => { + structure => 1, +}, hp => 100, shield => 100, armor => 0, @@ -80,8 +87,11 @@ gas => 0, build => 40, suit => 1, pop => 2, +cargo => 2, race => 'protoss', -organic => 1, +attr => { + organic => 1, +}, hp => 100, shield => 60, armor => 1, @@ -92,15 +102,15 @@ attack => [ damage => 16, upgrade => 2, cooldown => 22 / $FPS, - range => 1, + range => 0, }, ], sight => 7, -speed => 11, +speed => 4 * $SM, upgrade => [ { name => 'Leg Enhancements', - speed => 16 - 11, + speed => (6 - 4) * $SM, min => 150, gas => 150, build => 133, @@ -121,8 +131,11 @@ gas => 50, build => 50, suit => 3, pop => 2, +cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 100, shield => 80, armor => 1, @@ -138,7 +151,7 @@ attack => [ }, ], sight => 8, -speed => 15, +speed => 5.25 * $SM, upgrade => [ { name => 'Singularity Charge', @@ -167,20 +180,25 @@ gas => 150, build => 50, suit => 1, pop => 2, +cargo => 2, race => 'protoss', -organic => 1, +attr => { + organic => 1, +}, hp => 40, shield => 40, armor => 0, sight => 7, -speed => 9, -energy => 200, +speed => 3.33 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => "Khaydarin Amulet", min => 150, gas => 150, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], special => [ @@ -222,8 +240,11 @@ gas => 100, build => 50, suit => 1, pop => 2, +cargo => 2, race => 'protoss', -organic => 1, +attr => { + organic => 1, +}, hp => 80, shield => 40, armor => 1, @@ -234,11 +255,11 @@ attack => [ damage => 40, upgrade => 3, cooldown => 30 / $FPS, - range => 1, + range => 0, }, ], sight => 7, -speed => 15, +speed => 5 * $SM, special => [ { name => 'Cloaked', @@ -262,8 +283,11 @@ build => 20, base => ['templar', 'templar'], suit => 3, pop => 4, +cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 10, shield => 350, armor => 0, @@ -279,7 +303,7 @@ attack => [ }, ], sight => 8, -speed => 14, +speed => 5 * $SM, }, { @@ -295,21 +319,25 @@ build => 20, base => ['dark templar', 'dark templar'], suit => 3, pop => 4, +cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 25, shield => 200, armor => 1, sight => 10, -speed => 14, -energy => 200, +speed => 5 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => "Argus Talisman", min => 150, gas => 150, build => 166, - energy => 250-200, + capacity => 250-200, }, ], special => [ @@ -359,7 +387,10 @@ build => 80, suit => 3, pop => 3, race => 'protoss', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 150, shield => 100, @@ -382,7 +413,7 @@ attack => [ }, ], sight => 8, -speed => 13, +speed => 5 * $SM, upgrade => [ { name => 'Apial Sensors', @@ -396,7 +427,7 @@ upgrade => [ min => 200, gas => 200, build => 166, - speed => 18 - 13, + speed => (6.67 - 5) * $SM, }, ], }, @@ -413,7 +444,10 @@ build => 40, suit => 2, pop => 2, race => 'protoss', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 100, shield => 80, @@ -430,28 +464,30 @@ attack => [ }, ], sight => 9, -speed => 17, -energy => 200, +speed => 6.67 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => 'Argus Jewel', min => 100, gas => 100, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], special => [ { - name => 'Disruption web', + name => 'Disruption Web', abbr => 'dw', min => 200, gas => 200, build => 80, desc => 'creates a field in which no ground unit/structure can attack', range => 9, - cost => 62-50, - duration => undef, #XXX + cost => 125, + duration => 24, }, ], counter => ['devourer', 'valkyrie'], @@ -469,7 +505,10 @@ build => 140, suit => 3, pop => 6, race => 'protoss', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, hp => 300, shield => 150, armor => 4, @@ -482,7 +521,7 @@ attack => [ }, ], sight => 11, -speed => 10, +speed => 3.33 * $SM, special => [ { name => 'Build Interceptor', @@ -492,7 +531,10 @@ special => [ suit => 1, pop => 0, race => 'protoss', - organic => 0, + attr => { + mech => 1, + flying => 1, + }, hp => 40, shield => 40, armor => 0, @@ -536,7 +578,10 @@ build => 160, suit => 3, pop => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 200, shield => 150, @@ -552,15 +597,17 @@ attack => [ }, ], sight => 9, -speed => 12, -energy => 200, +speed => 5 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => 'Khaydarin Core', min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], special => [ @@ -602,8 +649,11 @@ gas => 100, build => 70, suit => 3, pop => 4, +cargo => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 100, shield => 80, armor => 0, @@ -611,16 +661,16 @@ attack => [ { anti => 1, damage => 100, - cooldown => 60 / $FPS, + cooldown => 60 / $FPS, # 30 after drop splash => 1, - cost => 15, + min => 15, build => 7, max => 5, range => 8, }, ], sight => 10, -speed => 5, +speed => 1.77 * $SM, upgrade => [ { name => 'Scarab Damage', @@ -666,14 +716,17 @@ build => 40, suit => 1, pop => 1, race => 'protoss', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 40, shield => 20, armor => 0, sight => 9, detect => 1, -speed => 9, +speed => 3.33 * $SM, upgrade => [ { name => "Sensor Array", @@ -687,7 +740,7 @@ upgrade => [ min => 150, gas => 150, build => 166, - speed => 13 - 9, + speed => (5 - 3.33) * $SM, }, ], special => [ @@ -711,13 +764,16 @@ gas => 0, build => 60, suit => 3, pop => 2, +cargo => -8, race => 'protoss', -organic => 0, +attr => { + mech => 1, +}, hp => 80, shield => 60, armor => 1, sight => 8, -speed => 13, +speed => 4.44 * $SM, transport => 1, upgrade => [ { @@ -725,7 +781,7 @@ upgrade => [ min => 200, gas => 200, build => 166, - speed => 19 - 13, + speed => (6.67 - 4.44) * $SM, } ], }, @@ -741,8 +797,12 @@ gas => 0, build => 20, suit => 1, pop => 1, +cargo => 1, race => 'terran', -organic => 0, +attr => { + mech => 1, + organic => 1, +}, hp => 60, armor => 0, attack => [ @@ -750,11 +810,11 @@ attack => [ anti => 1, damage => 5, cooldown => 15 / $FPS, - range => 1, + range => 0, }, ], sight => 7, -speed => 15, +speed => 5 * $SM, }, { @@ -768,6 +828,9 @@ gas => 0, build => 30, suit => 3, race => 'terran', +attr => { + structure => 1, +}, hp => 200, armor => 0, attack => [ @@ -795,8 +858,11 @@ gas => 0, build => 24, suit => 1, pop => 1, +cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 40, armor => 0, attack => [ @@ -809,7 +875,7 @@ attack => [ }, ], sight => 7, -speed => 11, +speed => 4 * $SM, upgrade => [ { name => 'U-238 Shells', @@ -825,13 +891,13 @@ upgrade => [ ], special => [ { - name => 'stim pack', + name => 'Stim Pack', abbr => 'sp', min => 100, gas => 100, build => 80, desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health', - speed => 17, + speed => (6 - 4) * $SM, attack => [ { anti => 3, @@ -851,8 +917,11 @@ gas => 25, build => 24, suit => 1, pop => 1, +cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 50, armor => 1, attack => [ @@ -867,7 +936,7 @@ attack => [ }, ], sight => 7, -speed => 11, +speed => 4 * $SM, upgrade => [ ], special => [ @@ -878,7 +947,7 @@ special => [ gas => 100, build => 80, desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health', - speed => 17, + speed => (6 - 4) * $SM, attack => [ { anti => 1, @@ -901,8 +970,11 @@ gas => 75, build => 50, suit => 1, pop => 1, +cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 45, armor => 0, attack => [ @@ -916,7 +988,9 @@ attack => [ }, ], sight => 9, -speed => 11, +speed => 4 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => 'Ocular Implants', @@ -936,10 +1010,10 @@ upgrade => [ min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], -energy => 200, special => [ { name => 'Personal Cloaking', @@ -983,20 +1057,25 @@ gas => 25, build => 30, suit => 1, pop => 1, +cargo => 1, race => 'terran', -organic => 1, +attr => { + organic => 1, +}, hp => 60, armor => 1, sight => 9, -speed => 11, -energy => 200, +speed => 4 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => 'Caduceus Reactor', min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], special => [ @@ -1044,8 +1123,11 @@ gas => 0, build => 30, suit => 2, pop => 2, +cargo => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 80, armor => 0, attack => [ @@ -1059,14 +1141,14 @@ attack => [ }, ], sight => 8, -speed => 20, +speed => 6.67 * $SM, upgrade => [ { name => 'Ion Thrusters', min => 100, gas => 100, build => 100, - speed => 28 - 20, + speed => (10 - 6.67) * $SM, }, ], special => [ @@ -1079,7 +1161,9 @@ special => [ alt => 'Spider Mine', desc => 'burrows a mine which will automaticaly target non-hovering enemy units', amount => 3, - organic => 0, + attr => { + mech => 1, + }, hp => 20, suit => 1, armor => 0, @@ -1093,7 +1177,7 @@ special => [ }, ], sight => 3, - speed => 25, + speed => 9 * $SM, #XXX }, ], }, @@ -1109,8 +1193,11 @@ gas => 100, build => 50, suit => 3, pop => 2, +cargo => 4, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 150, armor => 1, attack => [ @@ -1118,13 +1205,13 @@ attack => [ anti => 1, damage => 30, upgrade => 3, - cooldown => 37 / $FPS, + cooldown => 37 / $FPS, # 15 after drop type => 'explosive', range => 7, }, ], sight => 10, -speed => 12, +speed => 4 * $SM, special => [ { name => 'Siege Mode', @@ -1160,8 +1247,11 @@ gas => 50, build => 40, suit => 3, pop => 2, +cargo => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, +}, hp => 125, armor => 1, attack => [ @@ -1169,7 +1259,7 @@ attack => [ anti => 1, damage => 12, upgrade => 1, - cooldown => 22 / $FPS, + cooldown => 22 / $FPS, # 15 after drop range => 5, }, { @@ -1182,7 +1272,7 @@ attack => [ }, ], sight => 8, -speed => 13, +speed => 4.7 * $SM, upgrade => [ { name => 'Charon Boosters', @@ -1208,7 +1298,10 @@ build => 60, suit => 3, pop => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 120, armor => 0, @@ -1230,8 +1323,9 @@ attack => [ }, ], sight => 7, -speed => 17, -energy => 200, +speed => 6.67 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Cloak', @@ -1250,7 +1344,8 @@ upgrade => [ min => 200, gas => 200, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], }, @@ -1267,7 +1362,10 @@ build => 133, suit => 3, pop => 6, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 500, armor => 3, @@ -1281,8 +1379,9 @@ attack => [ }, ], sight => 11, -speed => 7, -energy => 200, +speed => 2.5 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Yamato Gun', @@ -1307,7 +1406,8 @@ upgrade => [ min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], }, @@ -1324,14 +1424,18 @@ build => 80, suit => 3, pop => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 200, armor => 1, sight => 10, detect => 1, -speed => 15, -energy => 200, +speed => 5 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Defensive Matrix', @@ -1373,7 +1477,8 @@ upgrade => [ min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], }, @@ -1390,7 +1495,10 @@ build => 50, suit => 3, pop => 3, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 200, armor => 2, @@ -1407,7 +1515,7 @@ attack => [ }, ], sight => 8, -speed => 19, +speed => 6.6 * $SM, }, { @@ -1418,13 +1526,17 @@ gas => 100, build => 50, suit => 3, pop => 2, +cargo => -8, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 150, armor => 1, sight => 8, -speed => 15, +speed => 5.47 * $SM, transport => 1, }, @@ -1439,8 +1551,11 @@ gas => 0, build => 20, suit => 1, pop => 1, +cargo => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 40, armor => 0, attack => [ @@ -1452,7 +1567,7 @@ attack => [ }, ], sight => 7, -speed => 14, +speed => 5 * $SM, }, { @@ -1463,15 +1578,19 @@ gas => 0, build => 40, suit => 3, pop => -9, +cargo => 0, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 200, armor => 0, cargo => 0, sight => 9, detect => 1, -speed => 2, +speed => .83 * $SM, transport => 1, upgrade => [ { @@ -1493,7 +1612,7 @@ upgrade => [ min => 150, gas => 150, build => 133, - speed => 10 - 2, + speed => (3.33 - .83) * $SM, }, ], }, @@ -1508,7 +1627,9 @@ build => 20, suit => 1, pop => 0, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 25, armor => 10, sight => 4, @@ -1539,6 +1660,9 @@ gas => 0, build => 20, suit => 3, race => 'zerg', +attr => { + structure => 1, +}, hp => 300, armor => 2, attack => [ @@ -1562,6 +1686,9 @@ gas => 0, build => 20, suit => 3, race => 'zerg', +attr => { + structure => 1, +}, hp => 400, armor => 0, attack => [ @@ -1585,8 +1712,11 @@ gas => 0, build => 28, # for 2 suit => 1, pop => 0.5, +cargo => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 35, armor => 0, attack => [ @@ -1595,18 +1725,18 @@ attack => [ damage => 5, upgrade => 1, cooldown => 8 / $FPS, - range => 1, + range => 0, }, ], sight => 5, -speed => 14, +speed => 5.57 * $SM, upgrade => [ { name => 'Metabolic Boost', min => 100, gas => 100, build => 80, - speed => 22 - 14, + speed => (8.36 - 5.57) * $SM, }, { name => 'Adrenal Glands', @@ -1615,7 +1745,7 @@ upgrade => [ build => 80, attack => [ { - cooldown => 6 / $FPS, + cooldown => (6 - 8) / $FPS, }, ], }, @@ -1631,8 +1761,11 @@ gas => 25, build => 28, suit => 2, pop => 1, +cargo => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 80, armor => 0, attack => [ @@ -1646,7 +1779,7 @@ attack => [ }, ], sight => 6, -speed => 11, +speed => 3.71 * $SM, upgrade => [ { name => 'Grooved Spines', @@ -1664,7 +1797,7 @@ upgrade => [ min => 150, gas => 150, build => 100, - speed => 16 - 11, + speed => (5.57 - 3.71) * $SM, }, { name => 'Lurker Aspect', @@ -1684,8 +1817,11 @@ base => 'hydralisk', build => 40, suit => 2, pop => 2, +cargo => 4, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 125, armor => 1, attack => [ @@ -1699,7 +1835,7 @@ attack => [ }, ], sight => 8, -speed => 17, +speed => 6 * $SM, }, { @@ -1711,13 +1847,17 @@ build => 50, suit => 2, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 120, armor => 0, sight => 10, -speed => 18, -energy => 200, +speed => 6.67 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Infest CC', @@ -1757,7 +1897,9 @@ special => [ alt => 'Broodling', suit => 1, pop => 0, - organic => 1, + attr => { + organic => 1, + }, hp => 30, armor => 0, attack => [ @@ -1766,11 +1908,11 @@ special => [ damage => 4, upgrade => 1, cooldown => 15 / $FPS, - range => 1, + range => 0, }, ], sight => 5, - speed => 19, + speed => 6.04 * $SM, }, ], }, @@ -1784,7 +1926,9 @@ build => 40, suit => 1, pop => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 60, armor => 0, attack => [ @@ -1793,11 +1937,11 @@ attack => [ damage => 500, splash => 1, type => 'explosive', - range => 1, + range => 0, }, ], sight => 5, -speed => 17, +speed => 6 * $SM, }, { @@ -1809,7 +1953,10 @@ build => 30, # for 2 suit => 1, pop => 0.5, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 25, armor => 0, @@ -1817,11 +1964,11 @@ attack => [ { anti => 2, damage => 110, - range => 1, + range => 0, }, ], sight => 5, -speed => 18, +speed => 6.67 * $SM, counter => ['cannon', 'goliath', 'hydralisk'], }, @@ -1834,7 +1981,10 @@ build => 40, suit => 1, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 120, armor => 0, @@ -1849,12 +1999,15 @@ attack => [ }, ], sight => 7, -speed => 18, +speed => 6.67 * $SM, special => [ { alt => 'Cocoon', suit => 3, - organic => 1, + attr => { + organic => 1, + flying => 1, + }, hp => 200, armor => 0, sight => 4, @@ -1875,7 +2028,10 @@ base => 'mutalisk', suit => 3, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 150, armor => 2, @@ -1889,7 +2045,7 @@ attack => [ }, ], sight => 11, -speed => 7, +speed => 2.5 * $SM, }, { @@ -1902,7 +2058,10 @@ base => 'mutalisk', suit => 3, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 250, armor => 2, @@ -1917,7 +2076,7 @@ attack => [ }, ], sight => 10, -speed => 15, +speed => 5 * $SM, counter => ['goliath', 'dragoon', 'scourge'], }, @@ -1929,13 +2088,17 @@ gas => 150, build => 50, suit => 2, pop => 2, +cargo => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 80, armor => 1, sight => 10, -speed => 12, -energy => 200, +speed => 4 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Consume', @@ -1967,6 +2130,16 @@ special => [ duration => 12, }, ], +upgrade => [ + { + name => 'Metasynaptic Node', + min => 150, + gas => 50, + build => 166, + energy => 62.5-50, + capacity => 250-200, + }, +], counter => ['archon', 'firebat'], }, @@ -1978,8 +2151,11 @@ gas => 200, build => 60, suit => 3, pop => 4, +cargo => 4, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 400, armor => 1, attack => [ @@ -1988,11 +2164,11 @@ attack => [ damage => 20, upgrade => 3, cooldown => 15 / $FPS, - range => 1, + range => 0, }, ], sight => 7, -speed => 16, +speed => 5.4 * $SM, upgrade => [ { name => 'Chitinous Plating', @@ -2006,7 +2182,7 @@ upgrade => [ min => 200, gas => 200, build => 133, - speed => 21 - 16, + speed => (8.1 - 5.4) * $SM, }, ], },