sc: define attack count for multihit hots units
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 13 Jun 2015 02:57:55 +0000 (04:57 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 13 Jun 2015 02:57:55 +0000 (04:57 +0200)
sc-units-hots.inc.pl

index 3ba370a..e514eff 100644 (file)
@@ -107,9 +107,10 @@ use utf8;
        massive => 1,
        attack => {
                ground => {
-                       damage => [6 .. 9], x6,
+                       damage => [6 .. 9],
                        dps => [16.3, 19.0, 21.7, 24.4],
                        cooldown => 2.21,
+                       count => 6,
                },
                air => 'ground',
                range => 7,
@@ -164,9 +165,10 @@ use utf8;
        organic => 1,
        attack => {
                ground => {
-                       damage => [8 .. 11], # x2
+                       damage => [8 .. 11],
                        dps => [13.3, 15.0, 16.7, 18.4],
                        cooldown => 1.2,
+                       count => 2,
                },
                range => 0,
        },
@@ -367,10 +369,11 @@ use utf8;
        massive => 1,
        attack => {
                ground => {
-                       damage => [15, 17, 19, 21], # x2
+                       damage => [15, 17, 19, 21],
                        dps => [18.2, 20.6, 23.0, 25.4],
                        splash => 'line',
                        cooldown => 1.65,
+                       count => 2,
                },
                range => 6,
        },
@@ -449,11 +452,12 @@ use utf8;
        organic => 0, # mech
        attack => {
                air => {
-                       damage => [5 .. 8], # x2
+                       damage => [5 .. 8],
                        dps => [9, 10.8, 12.6, 14.4],
                        #bonus => +5 L,
                        type => 'projectile',
                        cooldown => 1.11,
+                       count => 2,
                },
                range => 5,
        },
@@ -594,11 +598,12 @@ use utf8;
                        organic => 0, # mech
                        attack => {
                                ground => {
-                                       damage => [5 .. 8], # 2x
+                                       damage => [5 .. 8],
 #                                      dps => 26.7 (+5.3),
                                        dps => [3.3, 4.0, 4.7, 5.4],
 #                                      cooldown => 0.5 (0.125/ 0.25),
                                        cooldown => 3.0,
+                                       count => 2,
                                },
                                air => 'ground',
                                range => 2,
@@ -671,9 +676,10 @@ use utf8;
        structure => 1,
        attack => {
                air => {
-                       damage => 12, # x2
+                       damage => 12,
                        dps => 27.9,
                        cooldown => 0.8608,
+                       count => 2,
                },
                range => 7,
        },
@@ -835,9 +841,10 @@ use utf8;
        organic => 1,
        attack => {
                ground => {
-                       damage => [4 .. 7], # x2
+                       damage => [4 .. 7],
                        dps => [7.3, 9.1, 10.9, 12.7],
                        cooldown => 1.1,
+                       count => 2,
                },
                range => 4.5,
        },
@@ -1020,20 +1027,22 @@ use utf8;
        massive => 1,
        attack => {
                ground => {
-                       damage => [30, 33, 36, 39], # x2,
+                       damage => [30, 33, 36, 39],
                        dps => [46.9, 51.6, 56.3, 61.0],
                        cooldown => 1.28,
                        range => 7,
+                       count => 2,
                },
                air => {
                        name => 'Explosive Payload',
-                       damage => [6 .. 9], # x4
+                       damage => [6 .. 9],
                        #bonus => +6 (+1) L Air,
                        dps => [8, 9.3, 10.6, 11.9],
                        splash => 1,
                        type => 'projectile',
                        cooldown => 3,
                        range => 10,
+                       count => 4,
                },
                air => {
                        name => 'High Impact Payload',
@@ -1063,11 +1072,12 @@ use utf8;
        organic => 0, # mech
        attack => {
                air => {
-                       damage => [10 .. 13], # x2
+                       damage => [10 .. 13],
                        #bonus => +4A,
                        dps => [10 .. 13],
                        type => 'projectile',
                        cooldown => 2,
+                       count => 2,
                },
                range => 9,
        },
@@ -1131,10 +1141,11 @@ use utf8;
        organic => 0, # mech
        attack => {
                ground => {
-                       damage => [12 .. 15], # x2
+                       damage => [12 .. 15],
                        dps => [19.2, 20.8, 22.4, 24.0],
                        type => 'projectile',
                        cooldown => 1.25,
+                       count => 2,
                },
                range => 6,
        },
@@ -1289,11 +1300,12 @@ use utf8;
        psionic => 1,
        attack => {
                ground => {
-                       damage => [4 .. 7], # x2
+                       damage => [4 .. 7],
                        dps => [8, 10, 12, 14],
                        cooldown => 1.0,
                        type => 'projectile',
                        range => 5,
+                       count => 2,
                },
                air => {
                        damage => [9 .. 12],