sc: calculate dps from damage and cooldown
[sheet.git] / sc-units.inc.pl
index 76223d505bdf18454780bc30046a6d85a8caefed..c440f954cb033c7529d6a3eb9240bf42c9a67a88 100644 (file)
@@ -231,7 +231,14 @@ attack => {
 },
 sight => 7,
 speed => 15,
-cloak => 1,
+special => [
+       {
+               name => 'Cloaked',
+               abbr => 'cl',
+               desc => 'cloaked at all times',
+               duration => -1,
+       },
+],
 },
 
 {
@@ -317,7 +324,7 @@ special => [
                desc => 'permanently gives you control over any unit',
                range => 8,
                cost => 150,
-               duration => -1,
+               duration => 0,
        },
        {
                name => 'Maelstrom',
@@ -671,7 +678,14 @@ upgrade => [
                speed => 13 - 9,
        },
 ],
-cloak => 1,
+special => [
+       {
+               name => 'Cloaked',
+               abbr => 'cl',
+               desc => 'cloaked at all times',
+               duration => -1,
+       },
+],
 },
 
 {
@@ -1002,7 +1016,7 @@ special => [
                desc => 'reduces the sight of target unit to 1',
                range => 9,
                cost => 75,
-               duration => -1,
+               duration => 0,
        },
 ],
 },
@@ -1050,7 +1064,7 @@ special => [
                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,
@@ -1059,7 +1073,6 @@ special => [
                attack => {
                        ground => {
                                damage => 125,
-                               cooldown => 0,
                                splash => 1,
                                type => 'explosive',
                        },
@@ -1116,7 +1129,6 @@ special => [
                        range => 12,
                },
                speed => 0,
-               duration => -1,
        },
 ],
 },