sc: drop precalculated dps data
[sheet.git] / sc-units.inc.pl
index c1f00f68c33693d8ebcdd9fde21bd044f74fe67b..47658d109a65b65763d8ae84bea1f4daaa96453b 100644 (file)
@@ -24,14 +24,12 @@ attack => {
        ground => {
                name => "Particle Beam",
                damage => 5,
-               dps => 7,
                cooldown => 22,
        },
        range => 1,
 },
 sight => 8,
 speed => 14,
-special => [],
 counter => ['vulture', 'dark templar'],
 },
 
@@ -53,7 +51,6 @@ armor => 0,
 attack => {
        ground => {
                damage => 20,
-               dps => 27,
                cooldown => 22,
        },
        air => 'ground',
@@ -62,7 +59,6 @@ attack => {
 sight => 11,
 detect => 1,
 speed => 0,
-special => [],
 counter => ['zergling', 'tank'],
 },
 
@@ -87,7 +83,6 @@ attack => {
        ground => {
                name => "Psi Blades",
                damage => [16, 18, 20, 22],
-               dps => [22, undef, undef, 30],
                cooldown => 22,
        },
        range => 1,
@@ -103,7 +98,6 @@ upgrade => [
                build => 133,
        },
 ],
-special => [],
 counter => ['vulture'],
 },
 
@@ -128,7 +122,6 @@ attack => {
        ground => {
                name => "Phase Disruptor",
                damage => [20, 22, 24, 26],
-               dps => [20, 22, 24, 26],
                type => 'explosive',
                cooldown => 30,
        },
@@ -148,7 +141,6 @@ upgrade => [
                },
        },
 ],
-special => [],
 counter => ['zergling', 'zealot', 'tank'],
 },
 
@@ -173,16 +165,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 +176,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 +187,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,
@@ -232,15 +220,20 @@ attack => {
        ground => {
                name => "Warp Blades",
                damage => [40, 43, 46, 49],
-               dps => [40, 43, 46, 49],
                cooldown => 30,
        },
        range => 1,
 },
 sight => 7,
 speed => 15,
-cloak => 1,
-special => [],
+special => [
+       {
+               name => 'Cloaked',
+               abbr => 'cl',
+               desc => 'cloaked at all times',
+               duration => -1,
+       },
+],
 },
 
 {
@@ -265,7 +258,6 @@ attack => {
        ground => {
                name => "Psionic Shockwave",
                damage => [30, 33, 36, 39],
-               dps => [45, undef, undef, 59],
                cooldown => 20,
                splash => 1,
        },
@@ -274,7 +266,6 @@ attack => {
 },
 sight => 8,
 speed => 14,
-special => [],
 },
 
 {
@@ -301,18 +292,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,14 +312,20 @@ special => [
        {
                name => 'Mind Control',
                abbr => 'mc',
+               min => 200,
+               gas => 200,
+               build => 120,
                desc => 'permanently gives you control over any unit',
                range => 8,
                cost => 150,
-               duration => -1,
+               duration => 0,
        },
        {
                name => 'Maelstrom',
                abbr => 'ms',
+               min => 100,
+               gas => 100,
+               build => 100,
                desc => 'field stunning all organic units for a few seconds',
                range => 10,
                cost => 100,
@@ -370,12 +355,10 @@ armor => 0,
 attack => {
        ground => {
                damage => [8, 9, 10, 11],
-               dps => [8, 9, 10, 11],
                cooldown => 30,
        },
        air => {
                damage => [28, 30, 32, 34],
-               dps => [38, undef, undef, 46],
                type => 'explosive',
                cooldown => 22,
        },
@@ -399,7 +382,6 @@ upgrade => [
                speed => 18 - 13,
        },
 ],
-special => [],
 },
 
 {
@@ -422,7 +404,6 @@ armor => 1,
 attack => {
        air => {
                damage => [5, 6, 7, 8],
-               dps => [19, undef, undef, 30],
                cooldown => 8,
                splash => 1,
                type => 'explosive',
@@ -433,12 +414,6 @@ sight => 9,
 speed => 17,
 energy => 200,
 upgrade => [
-       {
-               name => 'Disruption Web',
-               min => 200,
-               gas => 200,
-               build => 80,
-       },
        {
                name => 'Argus Jewel',
                min => 100,
@@ -451,6 +426,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,
@@ -502,7 +480,6 @@ special => [
                attack => {
                        ground => {
                                damage => [6, 7, 8, 9],
-                               dps => [4, 5, 5, 6],
                                cooldown => 43, # approximately 37 according to liquipedia
                                build => 20,
                        },
@@ -544,7 +521,6 @@ armor => 1,
 attack => {
        ground => {
                damage => [10, 11, 12, 13],
-               dps => [7, undef, undef, 9],
                cooldown => 45,
                type => 'explosive',
        },
@@ -555,18 +531,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 +549,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 +560,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,
@@ -616,7 +586,6 @@ armor => 0,
 attack => {
        ground => {
                damage => 100,
-               dps => 50,
                cooldown => 60,
                splash => 1,
                cost => 15,
@@ -636,7 +605,6 @@ upgrade => [
                attack => {
                        ground => {
                                damage => 125 - 100,
-                               dps => 63 - 50,
                        },
                },
        },
@@ -659,7 +627,6 @@ upgrade => [
                },
        },
 ],
-special => [],
 },
 
 {
@@ -698,8 +665,14 @@ upgrade => [
                speed => 13 - 9,
        },
 ],
-cloak => 1,
-special => [],
+special => [
+       {
+               name => 'Cloaked',
+               abbr => 'cl',
+               desc => 'cloaked at all times',
+               duration => -1,
+       },
+],
 },
 
 {
@@ -732,7 +705,6 @@ upgrade => [
                speed => 19 - 13,
        }
 ],
-special => [],
 },
 
 # terran
@@ -753,14 +725,12 @@ armor => 0,
 attack => {
        ground => {
                damage => 5,
-               dps => 10,
                cooldown => 15,
        },
        range => 1,
 },
 sight => 7,
 speed => 15,
-special => [],
 },
 
 {
@@ -779,7 +749,6 @@ armor => 0,
 attack => {
        air => {
                damage => 20,
-               dps => 40,
                cooldown => 15,
                type => 'explosive',
        },
@@ -788,7 +757,6 @@ attack => {
 sight => 11,
 detect => 1,
 speed => 0,
-special => [],
 },
 
 {
@@ -809,7 +777,6 @@ armor => 0,
 attack => {
        ground => {
                damage => [6, 7, 8, 9],
-               dps => [12, undef, undef, 18],
                cooldown => 15,
        },
        air => 'ground',
@@ -818,12 +785,6 @@ attack => {
 sight => 7,
 speed => 11,
 upgrade => [
-       {
-               name => 'Stim Pack',
-               min => 100,
-               gas => 100,
-               build => 80,
-       },
        {
                name => 'U-238 Shells',
                min => 150,
@@ -838,12 +799,14 @@ 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 => {
                        ground => {
                                cooldown => 7.5,
-                               dps => [24, undef, undef, 36],
                        },
                        air => 'ground',
                },
@@ -867,7 +830,6 @@ armor => 1,
 attack => {
        ground => {
                damage => [16, 18, 20, 22],
-               dps => [22, undef, undef, 30],
                cooldown => 22,
                splash => 1,
                type => 'implosive',
@@ -877,22 +839,20 @@ 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 => {
-                       cooldown => 11,
-                       dps => [44, undef, undef, 60],
+                       ground => {
+                               cooldown => 11,
+                       },
                },
                duration => 220 / $FPS,
        },
@@ -917,7 +877,6 @@ armor => 0,
 attack => {
        ground => {
                damage => [10, 11, 12, 13],
-               dps => [14, undef, undef, 18],
                cooldown => 22,
                type => 'implosive',
        },
@@ -953,6 +912,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 +922,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 +933,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 +961,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 +981,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,10 +992,13 @@ 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,
-               duration => -1,
+               duration => 0,
        },
 ],
 },
@@ -1059,7 +1021,6 @@ armor => 0,
 attack => {
        ground => {
                damage => [20, 22, 24, 26],
-               dps => [20, 22, 24, 26],
                cooldown => 30,
                type => 'implosive',
        },
@@ -1068,12 +1029,6 @@ attack => {
 sight => 8,
 speed => 20,
 upgrade => [
-       {
-               name => 'Spider Mines',
-               min => 100,
-               gas => 100,
-               build => 80,
-       },
        {
                name => 'Ion Thrusters',
                min => 100,
@@ -1086,8 +1041,11 @@ 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)',
+               desc => 'burrows a mine which will automaticaly target non-hovering enemy units',
                amount => 3,
                organic => 0,
                hp => 20,
@@ -1096,7 +1054,6 @@ special => [
                attack => {
                        ground => {
                                damage => 125,
-                               cooldown => 0,
                                splash => 1,
                                type => 'explosive',
                        },
@@ -1126,7 +1083,6 @@ armor => 1,
 attack => {
        ground => {
                damage => [30, 33, 36, 39],
-               dps => [24, undef, undef, 32],
                cooldown => 37,
                type => 'explosive',
        },
@@ -1134,23 +1090,17 @@ 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 => {
                                damage => [70, 75, 80, 85],
-                               dps => [28, 30, 32, 34],
                                cooldown => 75,
                                splash => 1,
                                type => 'explosive',
@@ -1158,7 +1108,6 @@ special => [
                        range => 12,
                },
                speed => 0,
-               duration => -1,
        },
 ],
 },
@@ -1181,12 +1130,10 @@ armor => 1,
 attack => {
        ground => {
                damage => [12, 13, 14, 15],
-               dps => [16, undef, undef, 20],
                cooldown => 22,
        },
        air => {
                damage => [20, 24, 28, 32],
-               dps => [27, undef, undef, 44],
                type => 'explosive',
                cooldown => 22,
        },
@@ -1207,7 +1154,6 @@ upgrade => [
                },
        },
 ],
-special => [],
 },
 
 {
@@ -1226,12 +1172,10 @@ armor => 0,
 attack => {
        ground => {
                damage => [8, 9, 10, 11],
-               dps => [8, 9, 10, 11],
                cooldown => 30,
        },
        air => {
                damage => [20, 22, 24, 26],
-               dps => [27, undef, undef, 35],
                cooldown => 22,
                type => 'explosive',
        },
@@ -1244,18 +1188,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,
@@ -1285,7 +1226,6 @@ armor => 3,
 attack => {
        ground => {
                damage => [25, 28, 31, 34],
-               dps => [25, 28, 31, 34],
                cooldown => 30,
        },
        air => 'ground',
@@ -1298,6 +1238,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 +1253,6 @@ special => [
        },
 ],
 upgrade => [
-       {
-               name => 'Yamato Gun',
-               min => 100,
-               gas => 100,
-               build => 120,
-       },
        {
                name => 'Colossus Reactor',
                min => 150,
@@ -1358,6 +1295,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 +1305,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 +1319,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,
@@ -1417,7 +1348,6 @@ armor => 2,
 attack => {
        air => {
                damage => [6, 7, 8, 9],
-               dps => [23, undef, undef, 25],
                cooldown => 64,
                splash => 1,
                type => 'explosive',
@@ -1427,7 +1357,6 @@ attack => {
 },
 sight => 8,
 speed => 19,
-special => [],
 },
 
 {
@@ -1466,14 +1395,12 @@ armor => 0,
 attack => {
        ground => {
                damage => 5,
-               dps => 7,
                cooldown => 22,
        },
        range => 1,
 },
 sight => 7,
 speed => 14,
-special => [],
 },
 
 {
@@ -1517,7 +1444,6 @@ upgrade => [
                speed => 10 - 2,
        },
 ],
-special => [],
 },
 
 {
@@ -1533,8 +1459,6 @@ race => 'zerg',
 organic => 1,
 hp => 25,
 armor => 10,
-attack => {
-},
 sight => 4,
 speed => 0.1, # more or less
 special => [
@@ -1549,11 +1473,8 @@ special => [
                organic => undef, # unchanged from parent
                hp => 200,
                armor => 10,
-               attack => {
-               },
                sight => 4,
                speed => 0,
-               special => [],
        },
 ],
 },
@@ -1571,7 +1492,6 @@ armor => 2,
 attack => {
        ground => {
                damage => 40,
-               dps => 38,
                cooldown => 32,
                type => 'explosive',
        },
@@ -1579,7 +1499,6 @@ attack => {
 },
 sight => 10,
 speed => 0,
-special => [],
 },
 
 {
@@ -1595,7 +1514,6 @@ armor => 0,
 attack => {
        air => {
                damage => 15,
-               dps => 30,
                cooldown => 15,
        },
        range => 7,
@@ -1603,7 +1521,6 @@ attack => {
 sight => 10,
 detect => 1,
 speed => 0,
-special => [],
 },
 
 {
@@ -1621,7 +1538,6 @@ armor => 0,
 attack => {
        ground => {
                damage => [5, 6, 7, 8],
-               dps => [18, undef, undef, 29], # 29 is an estimate
                cooldown => 8,
        },
        range => 1,
@@ -1644,12 +1560,10 @@ upgrade => [
                attack => {
                        ground => {
                                cooldown => 6,
-                               dps => [undef, undef, undef, 42 - 29],
                        },
                },
        },
 ],
-special => [],
 counter => ['archon', 'templar', 'firebat'],
 },
 
@@ -1668,7 +1582,6 @@ armor => 0,
 attack => {
        ground => {
                damage => [10, 11, 12, 13],
-               dps => [20, 22, 24, 26],
                cooldown => 15,
                type => 'explosive',
        },
@@ -1701,7 +1614,6 @@ upgrade => [
                build => 120,
        },
 ],
-special => [],
 },
 
 {
@@ -1720,7 +1632,6 @@ armor => 1,
 attack => {
        ground => {
                damage => [20, 22, 24, 26],
-               dps => [16, undef, undef, 21],
                cooldown => 37,
                splash => 'line',
        },
@@ -1728,7 +1639,6 @@ attack => {
 },
 sight => 8,
 speed => 17,
-special => [],
 },
 
 {
@@ -1762,8 +1672,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 +1685,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,
@@ -1786,7 +1702,6 @@ special => [
                attack => {
                        ground => {
                                damage => [4, 5, 6, 7],
-                               dps => [8, 10, 12, 14],
                                cooldown => 15,
                        },
                        range => 1,
@@ -1819,7 +1734,6 @@ attack => {
 },
 sight => 5,
 speed => 17,
-special => [],
 },
 
 {
@@ -1862,7 +1776,6 @@ armor => 0,
 attack => {
        ground => {
                damage => [9 .. 12],
-               dps => [9, 10, 11, 12],
                cooldown => 30,
                splash => 'bounce',
        },
@@ -1903,14 +1816,12 @@ armor => 2,
 attack => {
        ground => {
                damage => [20, 22, 24, 26],
-               dps => [20, 22, 24, 26],
                cooldown => 30,
        },
        range => 8,
 },
 sight => 11,
 speed => 7,
-special => [],
 },
 
 {
@@ -1930,7 +1841,6 @@ armor => 2,
 attack => {
        air => {
                damage => [25, 27, 29, 31],
-               dps => [8, undef, undef, 9],
                cooldown => 100,
                type => 'explosive',
        },
@@ -1960,6 +1870,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 +1888,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'],
 },
 
@@ -2013,7 +1915,6 @@ armor => 1,
 attack => {
        ground => {
                damage => [20, 23, 26, 29],
-               dps => [40, 46, 52, 58],
                cooldown => 15,
        },
        range => 1,
@@ -2036,7 +1937,6 @@ upgrade => [
                speed => 21 - 16,
        },
 ],
-special => [],
 },
 
 ]