sc: omit some optional zero values in bw data
[sheet.git] / sc-units.inc.pl
index de7a97b6d4205a9723d8b7e4728ae274c83a8802..87de9ec2f00e7b3a5005a06661c0cf856de3cd70 100644 (file)
@@ -42,7 +42,6 @@ min => 150,
 gas => 0,
 build => 50,
 suit => 3,
-unit => 0,
 race => 'protoss',
 hp => 100,
 shield => 100,
@@ -52,10 +51,7 @@ attack => {
                damage => 20,
                dps => 27,
        },
-       air => {
-               damage => 20,
-               dps => 27,
-       },
+       air => 'ground',
        range => 7,
 },
 sight => 11,
@@ -126,11 +122,7 @@ attack => {
                dps => [20, 22, 24, 26],
                type => 'explosive',
        },
-       air => {
-               damage => [20, 22, 24, 26],
-               dps => [20, 22, 24, 26],
-               type => 'explosive',
-       },
+       air => 'ground',
        range => 4,
 },
 sight => 8,
@@ -263,11 +255,7 @@ attack => {
                dps => [45, undef, undef, 59],
                splash => 1,
        },
-       air => {
-               damage => [30, 33, 36, 39],
-               dps => [45, undef, undef, 59],
-               splash => 1,
-       },
+       air => 'ground',
        range => 2,
 },
 sight => 8,
@@ -452,13 +440,7 @@ attack => {
                build => 12.7*$FM,
                max => 4,
        },
-       air => {
-               damage => [6, 7, 8, 9],
-               dps => [17, undef, undef, 49],
-               min => 25,
-               build => 12.7*$FM,
-               max => 4,
-       },
+       air => 'ground',
        range => 8,
 },
 sight => 11,
@@ -490,11 +472,7 @@ attack => {
                dps => [7, undef, undef, 9],
                type => 'explosive',
        },
-       air => {
-               damage => [10, 11, 12, 13],
-               dps => [7, undef, undef, 9],
-               type => 'explosive',
-       },
+       air => 'ground',
        range => 5,
 },
 sight => 9,
@@ -687,7 +665,6 @@ min => 75,
 gas => 0,
 build => 30,
 suit => 3,
-unit => 0,
 race => 'terran',
 hp => 200,
 armor => 0,
@@ -725,10 +702,7 @@ attack => {
                damage => [6, 7, 8, 9],
                dps => [12, undef, undef, 18],
        },
-       air => {
-               damage => [6, 7, 8, 9],
-               dps => [12, undef, undef, 18],
-       },
+       air => 'ground',
        range => 4,
 },
 sight => 7,
@@ -750,9 +724,7 @@ special => [
                        ground => {
                                dps => [24, undef, undef, 36],
                        },
-                       air => {
-                               dps => [24, undef, undef, 36],
-                       },
+                       air => 'ground',
                },
                duration => undef, #XXX
        },
@@ -817,11 +789,7 @@ attack => {
                dps => [14, undef, undef, 18],
                type => 'implosive',
        },
-       air => {
-               damage => [10, 11, 12, 13],
-               dps => [14, undef, undef, 18],
-               type => 'implosive',
-       },
+       air => 'ground',
        range => 7,
 },
 sight => 9,
@@ -1090,10 +1058,7 @@ attack => {
                damage => [25, 28, 31, 34],
                dps => [25, 28, 31, 34],
        },
-       air => {
-               damage => [25, 28, 31, 34],
-               dps => [25, 28, 31, 34],
-       },
+       air => 'ground',
        range => 6,
 },
 sight => 11,
@@ -1276,8 +1241,6 @@ name => 'Larva',
 trans => {
        nl => 'larve',
 },
-min => 0,
-gas => 0,
 build => 14.3*$FM, # = 21.5
 suit => 1,
 unit => 0,
@@ -1298,11 +1261,7 @@ name => 'Egg',
 trans => {
        nl => 'ei',
 },
-min => 0,
-gas => 0,
-build => 0,
 suit => 3,
-unit => 0,
 race => 'zerg',
 organic => 1,
 hp => 200,
@@ -1321,7 +1280,6 @@ min => 175,
 gas => 0,
 build => 20,
 suit => 3,
-unit => 0,
 race => 'zerg',
 hp => 300,
 armor => 2,
@@ -1345,7 +1303,6 @@ min => 175,
 gas => 0,
 build => 20,
 suit => 3,
-unit => 0,
 race => 'zerg',
 hp => 400,
 armor => 0,
@@ -1417,11 +1374,7 @@ attack => {
                dps => [20, 22, 24, 26],
                type => 'explosive',
        },
-       air => {
-               damage => [10, 11, 12, 13],
-               dps => [20, 22, 24, 26],
-               type => 'explosive',
-       },
+       air => 'ground',
        range => 4,
 },
 sight => 6,
@@ -1606,11 +1559,7 @@ attack => {
                dps => [9, 10, 11, 12],
                splash => 1,
        },
-       air => {
-               damage => [9, 10, 11, 12],
-               dps => [9, 10, 11, 12],
-               splash => 1,
-       },
+       air => 'ground',
        range => 3,
 },
 sight => 7,