From: Mischa POSLAWSKY Date: Fri, 12 Jun 2015 21:59:41 +0000 (+0200) Subject: sc: integrate added special/upgrade options X-Git-Tag: v1.8~177 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/d0aaa2ab1ce3a67e4c2a407f0eebc2d3862af6c9 sc: integrate added special/upgrade options Clean up duplicate and superfluous definitions. --- diff --git a/sc-units.inc.pl b/sc-units.inc.pl index c1f00f6..76223d5 100644 --- a/sc-units.inc.pl +++ b/sc-units.inc.pl @@ -31,7 +31,6 @@ attack => { }, sight => 8, speed => 14, -special => [], counter => ['vulture', 'dark templar'], }, @@ -62,7 +61,6 @@ attack => { sight => 11, detect => 1, speed => 0, -special => [], counter => ['zergling', 'tank'], }, @@ -103,7 +101,6 @@ upgrade => [ build => 133, }, ], -special => [], counter => ['vulture'], }, @@ -148,7 +145,6 @@ upgrade => [ }, }, ], -special => [], counter => ['zergling', 'zealot', 'tank'], }, @@ -173,16 +169,6 @@ sight => 7, speed => 9, energy => 200, upgrade => [ - { - name => "Psionic Storm", - min => 200, - gas => 200, - }, - { - name => "Hallucination", - min => 150, - gas => 150, - }, { name => "Khaydarin Amulet", min => 150, @@ -194,6 +180,9 @@ special => [ { name => 'Psionic Storm', abbr => 'ps', + min => 200, + gas => 200, + build => 120, desc => 'units in the area will receive upto 112 damage', # 14*8 range => 9, cost => 75, @@ -202,6 +191,9 @@ special => [ { name => 'Hallucination', abbr => 'hl', + min => 150, + gas => 150, + build => 80, desc => 'creates two illusionary duplicates of a unit for 3 minutes', range => 7, cost => 80, @@ -240,7 +232,6 @@ attack => { sight => 7, speed => 15, cloak => 1, -special => [], }, { @@ -274,7 +265,6 @@ attack => { }, sight => 8, speed => 14, -special => [], }, { @@ -301,18 +291,6 @@ sight => 10, speed => 14, energy => 200, upgrade => [ - { - name => "Maelstrom", - min => 100, - gas => 100, - build => 100, - }, - { - name => "Mind Control", - min => 200, - gas => 200, - build => 120, - }, { name => "Argus Talisman", min => 150, @@ -333,6 +311,9 @@ special => [ { name => 'Mind Control', abbr => 'mc', + min => 200, + gas => 200, + build => 120, desc => 'permanently gives you control over any unit', range => 8, cost => 150, @@ -341,6 +322,9 @@ special => [ { name => 'Maelstrom', abbr => 'ms', + min => 100, + gas => 100, + build => 100, desc => 'field stunning all organic units for a few seconds', range => 10, cost => 100, @@ -399,7 +383,6 @@ upgrade => [ speed => 18 - 13, }, ], -special => [], }, { @@ -433,12 +416,6 @@ sight => 9, speed => 17, energy => 200, upgrade => [ - { - name => 'Disruption Web', - min => 200, - gas => 200, - build => 80, - }, { name => 'Argus Jewel', min => 100, @@ -451,6 +428,9 @@ special => [ { 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, @@ -555,18 +535,6 @@ sight => 9, speed => 12, energy => 200, upgrade => [ - { - name => 'Stasis Field', - min => 150, - gas => 150, - build => 100, - }, - { - name => 'Recall', - min => 150, - gas => 150, - build => 100, - }, { name => 'Khaydarin Core', min => 150, @@ -585,6 +553,9 @@ special => [ { name => 'Stasis Field', abbr => 'sf', + min => 150, + gas => 150, + build => 100, desc => 'traps all non-burrowed units (3x3m) for 40 seconds, making them frozen and undamagable', cost => 100, range => 9, @@ -593,6 +564,9 @@ special => [ { name => 'Recall', abbr => 'rc', + min => 150, + gas => 150, + build => 100, desc => 'creates a 5x5m wormhole which transports units to the Arbiter', cost => 150, duration => 0, @@ -659,7 +633,6 @@ upgrade => [ }, }, ], -special => [], }, { @@ -699,7 +672,6 @@ upgrade => [ }, ], cloak => 1, -special => [], }, { @@ -732,7 +704,6 @@ upgrade => [ speed => 19 - 13, } ], -special => [], }, # terran @@ -760,7 +731,6 @@ attack => { }, sight => 7, speed => 15, -special => [], }, { @@ -788,7 +758,6 @@ attack => { sight => 11, detect => 1, speed => 0, -special => [], }, { @@ -818,12 +787,6 @@ attack => { sight => 7, speed => 11, upgrade => [ - { - name => 'Stim Pack', - min => 100, - gas => 100, - build => 80, - }, { name => 'U-238 Shells', min => 150, @@ -838,6 +801,9 @@ special => [ { 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, attack => { @@ -877,17 +843,14 @@ attack => { sight => 7, speed => 11, upgrade => [ +], +special => [ { name => 'Stim Pack', + abbr => 'sp', min => 100, gas => 100, build => 80, - }, -], -special => [ - { - name => 'stim pack', - abbr => 'sp', desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health', speed => 17, attack => { @@ -953,6 +916,9 @@ special => [ { name => 'Personal Cloaking', abbr => 'cl', + min => 100, + gas => 100, + build => 80, desc => 'has the ability to cloak', cost => 25, maint => 1, # per second @@ -960,6 +926,9 @@ special => [ { name => 'Lockdown', abbr => 'ld', + min => 200, + gas => 200, + build => 100, desc => 'disables a mechanical unit completely for one minute', range => 8, cost => 100, @@ -968,6 +937,9 @@ special => [ { name => 'Nuclear Strike', abbr => 'ns', + min => 200, + gas => 200, + unit => 8, desc => 'guides a nuclear missile which will do 500 damage', duration => 14+3, range => 8, @@ -993,18 +965,6 @@ sight => 9, speed => 11, energy => 200, update => [ - { - name => 'Restoration', - min => 100, - gas => 100, - build => 80, - }, - { - name => 'Optical Flare', - min => 100, - gas => 100, - build => 80, - }, { name => 'Caduceus Reactor', min => 150, @@ -1025,6 +985,9 @@ special => [ { name => 'Restoration', abbr => 'rs', + min => 100, + gas => 100, + build => 80, desc => 'removes harmful effects (Lockdown, Flare, Irradiate, Plague, Ensnare, Parasite) from a unit', range => 6, cost => 50, @@ -1033,6 +996,9 @@ special => [ { name => 'Optic Flare', abbr => 'of', + min => 100, + gas => 100, + build => 80, desc => 'reduces the sight of target unit to 1', range => 9, cost => 75, @@ -1068,12 +1034,6 @@ attack => { sight => 8, speed => 20, upgrade => [ - { - name => 'Spider Mines', - min => 100, - gas => 100, - build => 80, - }, { name => 'Ion Thrusters', min => 100, @@ -1086,6 +1046,9 @@ special => [ { name => 'Spider Mine', abbr => 'sm', + min => 100, + gas => 100, + build => 80, alt => 'Spider Mine', desc => 'burrows a mine (capable of doing 125+ damage to enemy units coming within range 3)', amount => 3, @@ -1134,18 +1097,13 @@ attack => { }, sight => 10, speed => 12, -upgrade => [ - { - name => 'Siege Tech', - min => 150, - gas => 150, - build => 80, - }, -], special => [ { name => 'Siege Mode', abbr => 'sg', + min => 150, + gas => 150, + build => 80, alt => 'Sieged Tank', attack => { ground => { @@ -1207,7 +1165,6 @@ upgrade => [ }, }, ], -special => [], }, { @@ -1244,18 +1201,15 @@ special => [ { name => 'Cloak', abbr => 'cl', + min => 150, + gas => 150, + build => 100, desc => 'has the ability to cloak', cost => 25, maint => 1, # /second }, ], upgrade => [ - { - name => 'Cloaking Field', - min => 150, - gas => 150, - build => 100, - }, { name => 'Apollo Reactor', min => 200, @@ -1298,6 +1252,9 @@ special => [ { name => 'Yamato Gun', abbr => 'yg', + min => 100, + gas => 100, + build => 120, desc => 'blast doing 260 damage to a target', attack => { ground => { @@ -1310,12 +1267,6 @@ special => [ }, ], upgrade => [ - { - name => 'Yamato Gun', - min => 100, - gas => 100, - build => 120, - }, { name => 'Colossus Reactor', min => 150, @@ -1358,6 +1309,9 @@ special => [ { name => 'EMP Shockwave', abbr => 'ep', + min => 200, + gas => 200, + build => 120, desc => 'units in 3-matrix radius will lose all energy and shields', range => 8, cost => 100, @@ -1365,6 +1319,9 @@ special => [ { name => 'Irradiate', abbr => 'ir', + min => 200, + gas => 200, + build => 80, desc => 'organic units will suffer upto 250 damage over 30s', range => 9, cost => 75, @@ -1376,18 +1333,6 @@ special => [ }, ], upgrade => [ - { - name => 'EMP Shockwave', - min => 200, - gas => 200, - build => 120, - }, - { - name => 'Irradiate', - min => 200, - gas => 200, - build => 80, - }, { name => 'Titan Reactor', min => 150, @@ -1427,7 +1372,6 @@ attack => { }, sight => 8, speed => 19, -special => [], }, { @@ -1473,7 +1417,6 @@ attack => { }, sight => 7, speed => 14, -special => [], }, { @@ -1517,7 +1460,6 @@ upgrade => [ speed => 10 - 2, }, ], -special => [], }, { @@ -1533,8 +1475,6 @@ race => 'zerg', organic => 1, hp => 25, armor => 10, -attack => { -}, sight => 4, speed => 0.1, # more or less special => [ @@ -1549,11 +1489,8 @@ special => [ organic => undef, # unchanged from parent hp => 200, armor => 10, - attack => { - }, sight => 4, speed => 0, - special => [], }, ], }, @@ -1579,7 +1516,6 @@ attack => { }, sight => 10, speed => 0, -special => [], }, { @@ -1603,7 +1539,6 @@ attack => { sight => 10, detect => 1, speed => 0, -special => [], }, { @@ -1649,7 +1584,6 @@ upgrade => [ }, }, ], -special => [], counter => ['archon', 'templar', 'firebat'], }, @@ -1701,7 +1635,6 @@ upgrade => [ build => 120, }, ], -special => [], }, { @@ -1728,7 +1661,6 @@ attack => { }, sight => 8, speed => 17, -special => [], }, { @@ -1762,8 +1694,11 @@ special => [ cost => 75, }, { - name => 'ensnare', + name => 'Ensnare', abbr => 'es', + min => 100, + gas => 100, + build => 80, desc => 'slows units downto half speed', range => 9, cost => 75, @@ -1772,6 +1707,9 @@ special => [ { name => 'Spawn Broodling', abbr => 'sb', + min => 100, + gas => 100, + build => 80, desc => 'spawn one inside an enemy unit killing it', range => 9, cost => 150, @@ -1819,7 +1757,6 @@ attack => { }, sight => 5, speed => 17, -special => [], }, { @@ -1910,7 +1847,6 @@ attack => { }, sight => 11, speed => 7, -special => [], }, { @@ -1960,6 +1896,9 @@ special => [ { name => 'Consume', abbr => 'cs', + min => 100, + gas => 100, + build => 100, desc => 'gain energy by eating one of your own', cost => -50, duration => 0, @@ -1975,26 +1914,15 @@ special => [ { name => 'Plague', abbr => 'pl', + min => 200, + gas => 200, + build => 100, desc => 'anything in its radius will loose 25 HP per second for 12s or until 1 HP left', range => 9, cost => 150, duration => 12, }, ], -upgrade => [ - { - name => 'Consume', - min => 100, - gas => 100, - build => 100, - }, - { - name => 'Plague', - min => 200, - gas => 200, - build => 100, - }, -], counter => ['archon', 'firebat'], }, @@ -2036,7 +1964,6 @@ upgrade => [ speed => 21 - 16, }, ], -special => [], }, ] diff --git a/sc.plp b/sc.plp index 25c9863..0503a07 100644 --- a/sc.plp +++ b/sc.plp @@ -252,7 +252,7 @@ sub showrange { $_->{desc} ? ": $_->{desc}" : '', $_->{range} ? sprintf(' (%s)', join ', ', "range $_->{range}", -# "cost $_->{cost}", +# sprintf('cost %.0f%%', 100 * $_->{cost} / $row->{energy}), ) : '', ), $_->{abbr},