X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/e9ee5e5e683bffd3ffef39896a2735fde7117eb1..48caff0e039ebf152cc9b8e215642c3438cf51ba:/sc-units-bw.inc.pl diff --git a/sc-units-bw.inc.pl b/sc-units-bw.inc.pl index 7d59dc4..ae4689a 100644 --- a/sc-units-bw.inc.pl +++ b/sc-units-bw.inc.pl @@ -1,10 +1,11 @@ use utf8; use strict; -# time in fastest game seconds -my $FPS = 24; # frames per second -# toss shield += .65 per second -# zerg regen += .37 per second +my $FPS = 1000 / 56; # frames per second on fast +# energy += 8HP/frame ≈ .74 per second +# toss shield += 7HP/frame ≈ .65/s +# zerg regen += 4HP/frame ≈ .37/s +my $SM = $FPS / 32; # 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 => 4.92 * $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 * $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.2 * $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 => 4.92 * $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 => 4.92 * $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 => 4.92 * $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, @@ -506,8 +548,9 @@ special => [ range => 0, }, ], - sight => 0, + sight => 6, range => 0, + speed => 13.33 * $SM, }, ], upgrade => [ @@ -536,7 +579,10 @@ build => 160, suit => 3, pop => 4, race => 'protoss', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 200, shield => 150, @@ -552,15 +598,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 +650,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 +662,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.78 * $SM, upgrade => [ { name => 'Scarab Damage', @@ -666,14 +717,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 +741,7 @@ upgrade => [ min => 150, gas => 150, build => 166, - speed => 13 - 9, + speed => (5 - 3.33) * $SM, }, ], special => [ @@ -711,13 +765,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.43 * $SM, transport => 1, upgrade => [ { @@ -725,7 +782,7 @@ upgrade => [ min => 200, gas => 200, build => 166, - speed => 19 - 13, + speed => (6.67 - 4.43) * $SM, } ], }, @@ -741,8 +798,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 +811,11 @@ attack => [ anti => 1, damage => 5, cooldown => 15 / $FPS, - range => 1, + range => 0, }, ], sight => 7, -speed => 15, +speed => 4.92 * $SM, }, { @@ -768,6 +829,9 @@ gas => 0, build => 30, suit => 3, race => 'terran', +attr => { + structure => 1, +}, hp => 200, armor => 0, attack => [ @@ -795,8 +859,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 +876,7 @@ attack => [ }, ], sight => 7, -speed => 11, +speed => 4 * $SM, upgrade => [ { name => 'U-238 Shells', @@ -825,13 +892,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 +918,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 +937,7 @@ attack => [ }, ], sight => 7, -speed => 11, +speed => 4 * $SM, upgrade => [ ], special => [ @@ -878,7 +948,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 +971,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 +989,9 @@ attack => [ }, ], sight => 9, -speed => 11, +speed => 4 * $SM, +energy => 50, +capacity => 200, upgrade => [ { name => 'Ocular Implants', @@ -936,10 +1011,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 +1058,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 +1124,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 +1142,14 @@ attack => [ }, ], sight => 8, -speed => 20, +speed => 6.4 * $SM, upgrade => [ { name => 'Ion Thrusters', min => 100, gas => 100, build => 100, - speed => 28 - 20, + speed => (10 - 6.4) * $SM, }, ], special => [ @@ -1079,7 +1162,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 +1178,7 @@ special => [ }, ], sight => 3, - speed => 25, + speed => 16 * $SM, }, ], }, @@ -1109,8 +1194,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 +1206,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 +1248,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 +1260,7 @@ attack => [ anti => 1, damage => 12, upgrade => 1, - cooldown => 22 / $FPS, + cooldown => 22 / $FPS, # 15 after drop range => 5, }, { @@ -1182,7 +1273,7 @@ attack => [ }, ], sight => 8, -speed => 13, +speed => 4.57 * $SM, upgrade => [ { name => 'Charon Boosters', @@ -1208,7 +1299,10 @@ build => 60, suit => 3, pop => 2, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 120, armor => 0, @@ -1230,8 +1324,9 @@ attack => [ }, ], sight => 7, -speed => 17, -energy => 200, +speed => 6.67 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Cloak', @@ -1250,7 +1345,8 @@ upgrade => [ min => 200, gas => 200, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], }, @@ -1267,7 +1363,10 @@ build => 133, suit => 3, pop => 6, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 500, armor => 3, @@ -1281,8 +1380,9 @@ attack => [ }, ], sight => 11, -speed => 7, -energy => 200, +speed => 2.5 * $SM, +energy => 50, +capacity => 200, special => [ { name => 'Yamato Gun', @@ -1307,7 +1407,8 @@ upgrade => [ min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], }, @@ -1324,14 +1425,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 +1478,8 @@ upgrade => [ min => 150, gas => 150, build => 166, - energy => 250-200, + energy => 62.5-50, + capacity => 250-200, }, ], }, @@ -1390,7 +1496,10 @@ build => 50, suit => 3, pop => 3, race => 'terran', -organic => 0, +attr => { + mech => 1, + flying => 1, +}, air => 1, hp => 200, armor => 2, @@ -1407,7 +1516,7 @@ attack => [ }, ], sight => 8, -speed => 19, +speed => 6.6 * $SM, }, { @@ -1418,13 +1527,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 +1552,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 +1568,7 @@ attack => [ }, ], sight => 7, -speed => 14, +speed => 4.92 * $SM, }, { @@ -1463,15 +1579,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 +1613,7 @@ upgrade => [ min => 150, gas => 150, build => 133, - speed => 10 - 2, + speed => (3.33 - .83) * $SM, }, ], }, @@ -1508,7 +1628,9 @@ build => 20, suit => 1, pop => 0, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 25, armor => 10, sight => 4, @@ -1539,6 +1661,9 @@ gas => 0, build => 20, suit => 3, race => 'zerg', +attr => { + structure => 1, +}, hp => 300, armor => 2, attack => [ @@ -1562,6 +1687,9 @@ gas => 0, build => 20, suit => 3, race => 'zerg', +attr => { + structure => 1, +}, hp => 400, armor => 0, attack => [ @@ -1585,8 +1713,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 +1726,18 @@ attack => [ damage => 5, upgrade => 1, cooldown => 8 / $FPS, - range => 1, + range => 0, }, ], sight => 5, -speed => 14, +speed => 5.49 * $SM, upgrade => [ { name => 'Metabolic Boost', min => 100, gas => 100, build => 80, - speed => 22 - 14, + speed => (8.36 - 5.49) * $SM, }, { name => 'Adrenal Glands', @@ -1615,7 +1746,7 @@ upgrade => [ build => 80, attack => [ { - cooldown => 6 / $FPS, + cooldown => (6 - 8) / $FPS, }, ], }, @@ -1631,8 +1762,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 +1780,7 @@ attack => [ }, ], sight => 6, -speed => 11, +speed => 3.66 * $SM, upgrade => [ { name => 'Grooved Spines', @@ -1664,7 +1798,7 @@ upgrade => [ min => 150, gas => 150, build => 100, - speed => 16 - 11, + speed => (5.57 - 3.66) * $SM, }, { name => 'Lurker Aspect', @@ -1684,8 +1818,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 +1836,7 @@ attack => [ }, ], sight => 8, -speed => 17, +speed => 5.82 * $SM, }, { @@ -1711,13 +1848,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 +1898,9 @@ special => [ alt => 'Broodling', suit => 1, pop => 0, - organic => 1, + attr => { + organic => 1, + }, hp => 30, armor => 0, attack => [ @@ -1766,11 +1909,11 @@ special => [ damage => 4, upgrade => 1, cooldown => 15 / $FPS, - range => 1, + range => 0, }, ], sight => 5, - speed => 19, + speed => 6 * $SM, }, ], }, @@ -1784,7 +1927,9 @@ build => 40, suit => 1, pop => 1, race => 'zerg', -organic => 1, +attr => { + organic => 1, +}, hp => 60, armor => 0, attack => [ @@ -1793,11 +1938,11 @@ attack => [ damage => 500, splash => 1, type => 'explosive', - range => 1, + range => 0, }, ], sight => 5, -speed => 17, +speed => 5.82 * $SM, }, { @@ -1809,7 +1954,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 +1965,11 @@ attack => [ { anti => 2, damage => 110, - range => 1, + range => 0, }, ], sight => 5, -speed => 18, +speed => 6.67 * $SM, counter => ['cannon', 'goliath', 'hydralisk'], }, @@ -1834,7 +1982,10 @@ build => 40, suit => 1, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 120, armor => 0, @@ -1849,12 +2000,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 +2029,10 @@ base => 'mutalisk', suit => 3, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 150, armor => 2, @@ -1889,7 +2046,7 @@ attack => [ }, ], sight => 11, -speed => 7, +speed => 2.5 * $SM, }, { @@ -1902,7 +2059,10 @@ base => 'mutalisk', suit => 3, pop => 2, race => 'zerg', -organic => 1, +attr => { + organic => 1, + flying => 1, +}, air => 1, hp => 250, armor => 2, @@ -1917,7 +2077,7 @@ attack => [ }, ], sight => 10, -speed => 15, +speed => 5 * $SM, counter => ['goliath', 'dragoon', 'scourge'], }, @@ -1929,13 +2089,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 +2131,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 +2152,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 +2165,11 @@ attack => [ damage => 20, upgrade => 3, cooldown => 15 / $FPS, - range => 1, + range => 0, }, ], sight => 7, -speed => 16, +speed => 5.12 * $SM, upgrade => [ { name => 'Chitinous Plating', @@ -2006,7 +2183,7 @@ upgrade => [ min => 200, gas => 200, build => 133, - speed => 21 - 16, + speed => (8.1 - 5.12) * $SM, }, ], },