sc: fix reaver scarab cost (wrong key)
[sheet.git] / sc-units-bw.inc.pl
index 9064f7061f809b93ae77db7e71f2c20749ac5eea..a8ec4deae9e39a43a5f7786e7596fe41f682f98b 100644 (file)
@@ -19,20 +19,24 @@ min => 50,
 gas => 0,
 build => 20,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 20,
 shield => 20,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                name => "Particle Beam",
                damage => 5,
                cooldown => 22 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 8,
 speed => 14,
 counter => ['vulture', 'dark templar'],
@@ -50,17 +54,20 @@ gas => 0,
 build => 50,
 suit => 3,
 race => 'protoss',
+attr => {
+       structure => 1,
+},
 hp => 100,
 shield => 100,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 3,
                damage => 20,
                cooldown => 22 / $FPS,
+               range => 7,
        },
-       air => 'ground',
-       range => 7,
-},
+],
 sight => 11,
 detect => 1,
 speed => 0,
@@ -78,20 +85,25 @@ min => 100,
 gas => 0,
 build => 40,
 suit => 1,
-unit => 2,
+pop => 2,
+cargo => 2,
 race => 'protoss',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 100,
 shield => 60,
 armor => 1,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                name => "Psi Blades",
-               damage => [16, 18, 20, 22],
+               damage => 16,
+               upgrade => 2,
                cooldown => 22 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 7,
 speed => 11,
 upgrade => [
@@ -117,22 +129,26 @@ min => 125,
 gas => 50,
 build => 50,
 suit => 3,
-unit => 2,
+pop => 2,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 100,
 shield => 80,
 armor => 1,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 3,
                name => "Phase Disruptor",
-               damage => [20, 22, 24, 26],
+               damage => 20,
+               upgrade => 2,
                type => 'explosive',
                cooldown => 30 / $FPS,
+               range => 4,
        },
-       air => 'ground',
-       range => 4,
-},
+],
 sight => 8,
 speed => 15,
 upgrade => [
@@ -141,9 +157,11 @@ upgrade => [
                min => 150,
                gas => 150,
                build => 166,
-               attack => {
-                       range => 6 - 4,
-               },
+               attack => [
+                       {
+                               range => 6 - 4,
+                       },
+               ],
        },
 ],
 counter => ['zergling', 'zealot', 'tank'],
@@ -160,9 +178,12 @@ min => 50,
 gas => 150,
 build => 50,
 suit => 1,
-unit => 2,
+pop => 2,
+cargo => 2,
 race => 'protoss',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 40,
 shield => 40,
 armor => 0,
@@ -215,20 +236,25 @@ min => 125,
 gas => 100,
 build => 50,
 suit => 1,
-unit => 2,
+pop => 2,
+cargo => 2,
 race => 'protoss',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 80,
 shield => 40,
 armor => 1,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                name => "Warp Blades",
-               damage => [40, 43, 46, 49],
+               damage => 40,
+               upgrade => 3,
                cooldown => 30 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 7,
 speed => 15,
 special => [
@@ -253,22 +279,26 @@ gas => 300,
 build => 20,
 base => ['templar', 'templar'],
 suit => 3,
-unit => 4,
+pop => 4,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 10,
 shield => 350,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 3,
                name => "Psionic Shockwave",
-               damage => [30, 33, 36, 39],
+               damage => 30,
+               upgrade => 3,
                cooldown => 20 / $FPS,
                splash => 1,
+               range => 2,
        },
-       air => 'ground',
-       range => 2,
-},
+],
 sight => 8,
 speed => 14,
 },
@@ -285,14 +315,15 @@ gas => 200,
 build => 20,
 base => ['dark templar', 'dark templar'],
 suit => 3,
-unit => 4,
+pop => 4,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 25,
 shield => 200,
 armor => 1,
-attack => {
-},
 sight => 10,
 speed => 14,
 energy => 200,
@@ -350,25 +381,33 @@ min => 275,
 gas => 125,
 build => 80,
 suit => 3,
-unit => 3,
+pop => 3,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 150,
 shield => 100,
 armor => 0,
-attack => {
-       ground => {
-               damage => [8, 9, 10, 11],
+attack => [
+       {
+               anti => 1,
+               damage => 8,
+               upgrade => 1,
                cooldown => 30 / $FPS,
+               range => 4,
        },
-       air => {
-               damage => [28, 30, 32, 34],
+       {
+               anti => 2,
+               damage => 28,
+               upgrade => 2,
                type => 'explosive',
                cooldown => 22 / $FPS,
+               range => 4,
        },
-       range => 4,
-},
+],
 sight => 8,
 speed => 13,
 upgrade => [
@@ -399,22 +438,27 @@ min => 150,
 gas => 100,
 build => 40,
 suit => 2,
-unit => 2,
+pop => 2,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 100,
 shield => 80,
 armor => 1,
-attack => {
-       air => {
-               damage => [5, 6, 7, 8],
+attack => [
+       {
+               anti => 2,
+               damage => 5,
+               upgrade => 1,
                cooldown => 8 / $FPS,
                splash => 1,
                type => 'explosive',
+               range => 5,
        },
-       range => 5,
-},
+],
 sight => 9,
 speed => 17,
 energy => 200,
@@ -453,20 +497,23 @@ min => 350,
 gas => 250,
 build => 140,
 suit => 3,
-unit => 6,
+pop => 6,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 hp => 300,
 shield => 150,
 armor => 4,
-attack => {
-       ground => {
-               dps => [17, undef, undef, 49],
+attack => [
+       {
+               anti => 3,
+               dps => [17, undef, undef, 25],
                count => 4,
+               range => 8,
        },
-       air => 'ground',
-       range => 8,
-},
+],
 sight => 11,
 speed => 10,
 special => [
@@ -476,21 +523,25 @@ special => [
                min => 25,
                build => 20,
                suit => 1,
-               unit => 0,
+               pop => 0,
                race => 'protoss',
-               organic => 0,
+               attr => {
+                       mech => 1,
+                       flying => 1,
+               },
                hp => 40,
                shield => 40,
                armor => 0,
-               attack => {
-                       ground => {
-                               damage => [6, 7, 8, 9],
+               attack => [
+                       {
+                               anti => 3,
+                               damage => 6,
+                               upgrade => 1,
                                cooldown => 43 / $FPS, # approximately 37 according to liquipedia
                                build => 20,
+                               range => 0,
                        },
-                       air => 'ground',
-                       range => 0,
-               },
+               ],
                sight => 0,
                range => 0,
        },
@@ -498,9 +549,12 @@ special => [
 upgrade => [
        {
                name => 'Carrier Capacity',
-               damage => {
-                       count => 8-4,
-               },
+               attack => [
+                       {
+                               dps => [17, undef, undef, 24],
+                               count => 8-4,
+                       },
+               ],
        },
 ],
 counter => ['wraith', 'corsair', 'scourge'],
@@ -516,22 +570,26 @@ min => 100,
 gas => 350,
 build => 160,
 suit => 3,
-unit => 4,
+pop => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 200,
 shield => 150,
 armor => 1,
-attack => {
-       ground => {
-               damage => [10, 11, 12, 13],
+attack => [
+       {
+               anti => 3,
+               damage => 10,
+               upgrade => 1,
                cooldown => 45 / $FPS,
                type => 'explosive',
+               range => 5,
        },
-       air => 'ground',
-       range => 5,
-},
+],
 sight => 9,
 speed => 12,
 energy => 200,
@@ -582,23 +640,27 @@ min => 200,
 gas => 100,
 build => 70,
 suit => 3,
-unit => 4,
+pop => 4,
+cargo => 4,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 100,
 shield => 80,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                damage => 100,
                cooldown => 60 / $FPS,
                splash => 1,
-               cost => 15,
+               min => 15,
                build => 7,
                max => 5,
+               range => 8,
        },
-       range => 8,
-},
+],
 sight => 10,
 speed => 5,
 upgrade => [
@@ -607,29 +669,29 @@ upgrade => [
                min => 200,
                gas => 200,
                build => 166,
-               attack => {
-                       ground => {
+               attack => [
+                       {
                                damage => 125 - 100,
                        },
-               },
+               ],
        },
        {
-               attack => {
-                       ground => {
+               attack => [
+                       {
                                splash => 2 - 1,
                        },
-               },
+               ],
        },
        {
                name => 'Increased Reaver Capacity',
                min => 200,
                gas => 200,
                build => 166,
-               attack => {
-                       ground => {
+               attack => [
+                       {
                                max => 10-5,
                        },
-               },
+               ],
        },
 ],
 },
@@ -644,9 +706,12 @@ min => 25,
 gas => 75,
 build => 40,
 suit => 1,
-unit => 1,
+pop => 1,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 40,
 shield => 20,
@@ -690,14 +755,15 @@ min => 200,
 gas => 0,
 build => 60,
 suit => 3,
-unit => 2,
+pop => 2,
+cargo => -8,
 race => 'protoss',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 80,
 shield => 60,
 armor => 1,
-attack => {
-},
 sight => 8,
 speed => 13,
 transport => 1,
@@ -722,18 +788,23 @@ min => 50,
 gas => 0,
 build => 20,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+       organic => 1,
+},
 hp =>  60,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                damage => 5,
                cooldown => 15 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 7,
 speed => 15,
 },
@@ -749,16 +820,20 @@ gas => 0,
 build => 30,
 suit => 3,
 race => 'terran',
+attr => {
+       structure => 1,
+},
 hp => 200,
 armor => 0,
-attack => {
-       air => {
+attack => [
+       {
+               anti => 2,
                damage => 20,
                cooldown => 15 / $FPS,
                type => 'explosive',
+               range => 7,
        },
-       range => 7,
-},
+],
 sight => 11,
 detect => 1,
 speed => 0,
@@ -774,19 +849,23 @@ min => 50,
 gas => 0,
 build => 24,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  40,
 armor => 0,
-attack => {
-       ground => {
-               damage => [6, 7, 8, 9],
+attack => [
+       {
+               anti => 3,
+               damage => 6,
+               upgrade => 1,
                cooldown => 15 / $FPS,
+               range => 4,
        },
-       air => 'ground',
-       range => 4,
-},
+],
 sight => 7,
 speed => 11,
 upgrade => [
@@ -795,9 +874,11 @@ upgrade => [
                min => 150,
                gas => 150,
                build => 100,
-               attack => {
-                       range => 5 - 4,
-               },
+               attack => [
+                       {
+                               range => 5 - 4,
+                       },
+               ],
        },
 ],
 special => [
@@ -809,12 +890,12 @@ special => [
                build => 80,
                desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
                speed => 17,
-               attack => {
-                       ground => {
+               attack => [
+                       {
+                               anti => 3,
                                cooldown => 7.5 / $FPS,
                        },
-                       air => 'ground',
-               },
+               ],
                duration => 220 / $FPS,
        },
 ],
@@ -827,20 +908,25 @@ min => 50,
 gas => 25,
 build => 24,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  50,
 armor => 1,
-attack => {
-       ground => {
-               damage => [16, 18, 20, 22],
+attack => [
+       {
+               anti => 1,
+               damage => 16,
+               upgrade => 2,
                cooldown => 22 / $FPS,
                splash => 1,
                type => 'implosive',
+               range => 2,
        },
-       range => 2,
-},
+],
 sight => 7,
 speed => 11,
 upgrade => [
@@ -854,11 +940,12 @@ special => [
                build => 80,
                desc => 'doubles attack speed and faster movement for a few seconds at the cost of 10 health',
                speed => 17,
-               attack => {
-                       ground => {
+               attack => [
+                       {
+                               anti => 1,
                                cooldown => 11 / $FPS,
                        },
-               },
+               ],
                duration => 220 / $FPS,
        },
 ],
@@ -874,20 +961,24 @@ min => 25,
 gas => 75,
 build => 50,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  45,
 armor => 0,
-attack => {
-       ground => {
-               damage => [10, 11, 12, 13],
+attack => [
+       {
+               anti => 3,
+               damage => 10,
+               upgrade => 1,
                cooldown => 22 / $FPS,
                type => 'implosive',
+               range => 7,
        },
-       air => 'ground',
-       range => 7,
-},
+],
 sight => 9,
 speed => 11,
 upgrade => [
@@ -897,12 +988,12 @@ upgrade => [
                gas => 150,
                build => 166,
                sight => 11 - 9,
-               special => {
-                       ns => {
-                               # nuke
-                               range => 10-8,
-                       },
-               },
+#              special => {
+#                      ns => {
+#                              # nuke
+#                              range => 10-8,
+#                      },
+#              },
        },
        {
                name => 'Moebius Reactor',
@@ -940,7 +1031,7 @@ special => [
                abbr => 'ns',
                min => 200,
                gas => 200,
-               unit => 8,
+               pop => 8,
                desc => 'guides a nuclear missile which will do 500 damage',
                duration => 14+3,
                range => 8,
@@ -955,17 +1046,18 @@ min => 50,
 gas => 25,
 build => 30,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'terran',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp =>  60,
 armor => 1,
-attack => {
-},
 sight => 9,
 speed => 11,
 energy => 200,
-update => [
+upgrade => [
        {
                name => 'Caduceus Reactor',
                min => 150,
@@ -1018,19 +1110,24 @@ min => 75,
 gas => 0,
 build => 30,
 suit => 2,
-unit => 2,
+pop => 2,
+cargo => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp =>  80,
 armor => 0,
-attack => {
-       ground => {
-               damage => [20, 22, 24, 26],
+attack => [
+       {
+               anti => 1,
+               damage => 20,
+               upgrade => 2,
                cooldown => 30 / $FPS,
                type => 'implosive',
+               range => 5,
        },
-       range => 5,
-},
+],
 sight => 8,
 speed => 20,
 upgrade => [
@@ -1052,18 +1149,21 @@ 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,
-               attack => {
-                       ground => {
+               attack => [
+                       {
+                               anti => 1,
                                damage => 125,
                                splash => 1,
                                type => 'explosive',
+                               range => 3,
                        },
-                       range => 3,
-               },
+               ],
                sight => 3,
                speed => 25,
     },
@@ -1080,19 +1180,24 @@ min => 150,
 gas => 100,
 build => 50,
 suit => 3,
-unit => 2,
+pop => 2,
+cargo => 4,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 150,
 armor => 1,
-attack => {
-       ground => {
-               damage => [30, 33, 36, 39],
+attack => [
+       {
+               anti => 1,
+               damage => 30,
+               upgrade => 3,
                cooldown => 37 / $FPS,
                type => 'explosive',
+               range => 7,
        },
-       range => 7,
-},
+],
 sight => 10,
 speed => 12,
 special => [
@@ -1103,15 +1208,17 @@ special => [
                gas => 150,
                build => 80,
                alt => 'Sieged Tank',
-               attack => {
-                       ground => {
-                               damage => [70, 75, 80, 85],
+               attack => [
+                       {
+                               anti => 1,
+                               damage => 70,
+                               upgrade => 5,
                                cooldown => 75 / $FPS,
                                splash => 1,
                                type => 'explosive',
+                               range => 12,
                        },
-                       range => 12,
-               },
+               ],
                speed => 0,
        },
 ],
@@ -1127,23 +1234,31 @@ min => 100,
 gas => 50,
 build => 40,
 suit => 3,
-unit => 2,
+pop => 2,
+cargo => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+},
 hp => 125,
 armor => 1,
-attack => {
-       ground => {
-               damage => [12, 13, 14, 15],
+attack => [
+       {
+               anti => 1,
+               damage => 12,
+               upgrade => 1,
                cooldown => 22 / $FPS,
+               range => 5,
        },
-       air => {
-               damage => [20, 24, 28, 32],
+       {
+               anti => 2,
+               damage => 20,
+               upgrade => 4,
                type => 'explosive',
                cooldown => 22 / $FPS,
+               range => 5,
        },
-       range => 5,
-},
+],
 sight => 8,
 speed => 13,
 upgrade => [
@@ -1152,11 +1267,12 @@ upgrade => [
                min => 100,
                gas => 100,
                build => 133,
-               attack => {
-#                      air => {
+               attack => [
+                       {},
+                       {
                                range => 8 - 5,
-#                      },
-               },
+                       },
+               ],
        },
 ],
 },
@@ -1168,24 +1284,32 @@ min => 150,
 gas => 100,
 build => 60,
 suit => 3,
-unit => 2,
+pop => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 120,
 armor => 0,
-attack => {
-       ground => {
-               damage => [8, 9, 10, 11],
+attack => [
+       {
+               anti => 1,
+               damage => 8,
+               upgrade => 1,
                cooldown => 30 / $FPS,
+               range => 5,
        },
-       air => {
-               damage => [20, 22, 24, 26],
+       {
+               anti => 2,
+               damage => 20,
+               upgrade => 2,
                cooldown => 22 / $FPS,
                type => 'explosive',
+               range => 5,
        },
-       range => 5,
-},
+],
 sight => 7,
 speed => 17,
 energy => 200,
@@ -1222,20 +1346,24 @@ min => 400,
 gas => 300,
 build => 133,
 suit => 3,
-unit => 6,
+pop => 6,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 500,
 armor => 3,
-attack => {
-       ground => {
-               damage => [25, 28, 31, 34],
+attack => [
+       {
+               anti => 3,
+               damage => 25,
+               upgrade => 3,
                cooldown => 30 / $FPS,
+               range => 6,
        },
-       air => 'ground',
-       range => 6,
-},
+],
 sight => 11,
 speed => 7,
 energy => 200,
@@ -1247,13 +1375,13 @@ special => [
                gas => 100,
                build => 120,
                desc => 'blast doing 260 damage to a target',
-               attack => {
-                       ground => {
+               attack => [
+                       {
+                               anti => 3,
                                damage => 260,
+                               range => 10,
                        },
-                       air => 'ground',
-                       range => 10,
-               },
+               ],
                cost => 150,
        },
 ],
@@ -1278,9 +1406,12 @@ min => 100,
 gas => 225,
 build => 80,
 suit => 3,
-unit => 2,
+pop => 2,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 200,
 armor => 1,
@@ -1344,22 +1475,27 @@ min => 250,
 gas => 125,
 build => 50,
 suit => 3,
-unit => 3,
+pop => 3,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 200,
 armor => 2,
-attack => {
-       air => {
-               damage => [6, 7, 8, 9],
+attack => [
+       {
+               anti => 2,
+               damage => 6,
+               upgrade => 1,
                cooldown => 64 / $FPS,
                splash => 1,
                type => 'explosive',
                count => 8,
+               range => 6,
        },
-       range => 6,
-},
+],
 sight => 8,
 speed => 19,
 },
@@ -1371,9 +1507,13 @@ min => 100,
 gas => 100,
 build => 50,
 suit => 3,
-unit => 2,
+pop => 2,
+cargo => -8,
 race => 'terran',
-organic => 0,
+attr => {
+       mech => 1,
+       flying => 1,
+},
 air => 1,
 hp => 150,
 armor => 1,
@@ -1392,18 +1532,22 @@ min => 50,
 gas => 0,
 build => 20,
 suit => 1,
-unit => 1,
+pop => 1,
+cargo => 1,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 40,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                damage => 5,
                cooldown => 22 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 7,
 speed => 14,
 },
@@ -1415,9 +1559,13 @@ min => 100,
 gas => 0,
 build => 40,
 suit => 3,
-unit => -9,
+pop => -9,
+cargo => 0,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+       flying => 1,
+},
 air => 1,
 hp => 200,
 armor => 0,
@@ -1459,9 +1607,11 @@ trans => {
 },
 build => 20,
 suit => 1,
-unit => 0,
+pop => 0,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 25,
 armor => 10,
 sight => 4,
@@ -1492,16 +1642,20 @@ gas => 0,
 build => 20,
 suit => 3,
 race => 'zerg',
+attr => {
+       structure => 1,
+},
 hp => 300,
 armor => 2,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                damage => 40,
                cooldown => 32 / $FPS,
                type => 'explosive',
+               range => 7,
        },
-       range => 7,
-},
+],
 sight => 10,
 speed => 0,
 },
@@ -1514,15 +1668,19 @@ gas => 0,
 build => 20,
 suit => 3,
 race => 'zerg',
+attr => {
+       structure => 1,
+},
 hp => 400,
 armor => 0,
-attack => {
-       air => {
+attack => [
+       {
+               anti => 2,
                damage => 15,
                cooldown => 15 / $FPS,
+               range => 7,
        },
-       range => 7,
-},
+],
 sight => 10,
 detect => 1,
 speed => 0,
@@ -1535,18 +1693,23 @@ min => 25,
 gas => 0,
 build => 28, # for 2
 suit => 1,
-unit => 0.5,
+pop => 0.5,
+cargo => 1,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 35,
 armor => 0,
-attack => {
-       ground => {
-               damage => [5, 6, 7, 8],
+attack => [
+       {
+               anti => 1,
+               damage => 5,
+               upgrade => 1,
                cooldown => 8 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 5,
 speed => 14,
 upgrade => [
@@ -1562,11 +1725,11 @@ upgrade => [
                min => 200,
                gas => 200,
                build => 80,
-               attack => {
-                       ground => {
+               attack => [
+                       {
                                cooldown => 6 / $FPS,
                        },
-               },
+               ],
        },
 ],
 counter => ['archon', 'templar', 'firebat'],
@@ -1579,20 +1742,24 @@ min => 75,
 gas => 25,
 build => 28,
 suit => 2,
-unit => 1,
+pop => 1,
+cargo => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 80,
 armor => 0,
-attack => {
-       ground => {
-               damage => [10, 11, 12, 13],
+attack => [
+       {
+               anti => 3,
+               damage => 10,
+               upgrade => 1,
                cooldown => 15 / $FPS,
                type => 'explosive',
+               range => 4,
        },
-       air => 'ground',
-       range => 4,
-},
+],
 sight => 6,
 speed => 11,
 upgrade => [
@@ -1601,9 +1768,11 @@ upgrade => [
                min => 150,
                gas => 150,
                build => 100,
-               attack => {
-                       range => 5 - 4,
-               },
+               attack => [
+                       {
+                               range => 5 - 4,
+                       },
+               ],
        },
        {
                name => 'Muscular Augments',
@@ -1629,19 +1798,24 @@ gas => 125,
 base => 'hydralisk',
 build => 40,
 suit => 2,
-unit => 2,
+pop => 2,
+cargo => 4,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 125,
 armor => 1,
-attack => {
-       ground => {
-               damage => [20, 22, 24, 26],
+attack => [
+       {
+               anti => 1,
+               damage => 20,
+               upgrade => 2,
                cooldown => 37 / $FPS,
                splash => 'line',
+               range => 6,
        },
-       range => 6,
-},
+],
 sight => 8,
 speed => 17,
 },
@@ -1653,9 +1827,12 @@ min => 100,
 gas => 100,
 build => 50,
 suit => 2,
-unit => 2,
+pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+       flying => 1,
+},
 air => 1,
 hp => 120,
 armor => 0,
@@ -1700,17 +1877,21 @@ special => [
                count => 2,
                alt => 'Broodling',
                suit => 1,
-               unit => 0,
-               organic => 1,
+               pop => 0,
+               attr => {
+                       organic => 1,
+               },
                hp => 30,
                armor => 0,
-               attack => {
-                       ground => {
-                               damage => [4, 5, 6, 7],
+               attack => [
+                       {
+                               anti => 1,
+                               damage => 4,
+                               upgrade => 1,
                                cooldown => 15 / $FPS,
+                               range => 0,
                        },
-                       range => 1,
-               },
+               ],
                sight => 5,
                speed => 19,
        },
@@ -1724,19 +1905,22 @@ min => 100,
 gas => 50,
 build => 40,
 suit => 1,
-unit => 1,
+pop => 1,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 60,
 armor => 0,
-attack => {
-       ground => {
+attack => [
+       {
+               anti => 1,
                damage => 500,
                splash => 1,
                type => 'explosive',
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 5,
 speed => 17,
 },
@@ -1748,18 +1932,22 @@ min => 12,
 gas => 38,
 build => 30, # for 2
 suit => 1,
-unit => 0.5,
+pop => 0.5,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+       flying => 1,
+},
 air => 1,
 hp => 25,
 armor => 0,
-attack => {
-       air => {
+attack => [
+       {
+               anti => 2,
                damage => 110,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 5,
 speed => 18,
 counter => ['cannon', 'goliath', 'hydralisk'],
@@ -1772,28 +1960,35 @@ min => 100,
 gas => 100,
 build => 40,
 suit => 1,
-unit => 2,
+pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+       flying => 1,
+},
 air => 1,
 hp => 120,
 armor => 0,
-attack => {
-       ground => {
-               damage => [9 .. 12],
+attack => [
+       {
+               anti => 3,
+               damage => 9,
+               upgrade => 1,
                cooldown => 30 / $FPS,
                splash => 'bounce',
+               range => 3,
        },
-       air => 'ground',
-       range => 3,
-},
+],
 sight => 7,
 speed => 18,
 special => [
        {
                alt => 'Cocoon',
                suit => 3,
-               organic => 1,
+               attr => {
+                       organic => 1,
+                       flying => 1,
+               },
                hp => 200,
                armor => 0,
                sight => 4,
@@ -1812,19 +2007,24 @@ gas => 200,
 build => 40,
 base => 'mutalisk',
 suit => 3,
-unit => 2,
+pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+       flying => 1,
+},
 air => 1,
 hp => 150,
 armor => 2,
-attack => {
-       ground => {
-               damage => [20, 22, 24, 26],
+attack => [
+       {
+               anti => 1,
+               damage => 20,
+               upgrade => 2,
                cooldown => 30 / $FPS,
+               range => 8,
        },
-       range => 8,
-},
+],
 sight => 11,
 speed => 7,
 },
@@ -1837,20 +2037,25 @@ gas => 150,
 build => 40,
 base => 'mutalisk',
 suit => 3,
-unit => 2,
+pop => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+       flying => 1,
+},
 air => 1,
 hp => 250,
 armor => 2,
-attack => {
-       air => {
-               damage => [25, 27, 29, 31],
+attack => [
+       {
+               anti => 2,
+               damage => 25,
+               upgrade => 2,
                cooldown => 100 / $FPS,
                type => 'explosive',
+               range => 6,
        },
-       range => 6,
-},
+],
 sight => 10,
 speed => 15,
 counter => ['goliath', 'dragoon', 'scourge'],
@@ -1863,9 +2068,12 @@ min => 50,
 gas => 150,
 build => 50,
 suit => 2,
-unit => 2,
+pop => 2,
+cargo => 2,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 80,
 armor => 1,
 sight => 10,
@@ -1912,18 +2120,23 @@ min => 200,
 gas => 200,
 build => 60,
 suit => 3,
-unit => 4,
+pop => 4,
+cargo => 4,
 race => 'zerg',
-organic => 1,
+attr => {
+       organic => 1,
+},
 hp => 400,
 armor => 1,
-attack => {
-       ground => {
-               damage => [20, 23, 26, 29],
+attack => [
+       {
+               anti => 1,
+               damage => 20,
+               upgrade => 3,
                cooldown => 15 / $FPS,
+               range => 0,
        },
-       range => 1,
-},
+],
 sight => 7,
 speed => 16,
 upgrade => [