sc: ghost upgrades
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 23 May 2023 00:57:47 +0000 (02:57 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Tue, 30 May 2023 00:36:22 +0000 (02:36 +0200)
sc-units-hots.inc.pl
sc-units-lotv.inc.pl

index b3fd1cd051e86134923e4c900e38c91092abb442..55da7258a6fbaa5986514f34e732e6cf35eb596d 100644 (file)
@@ -1387,7 +1387,16 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n  or 4 gas (
        ],
        speed => 2.25,
        sight => 11,
-       energy => 75,
+       energy => $V ge v4.1.4 || $V lt v4.0.0 ? 75 : 50,
+       upgrade => [
+               $V ge v4.1.4 || $V lt v4.0.0 ? () : {
+                       name => 'Moebius Reactor',
+                       min => 100,
+                       gas => 100,
+                       build => 80,
+                       energy => 25,
+               },
+       ],
        capacity => 200,
        special => [
                {
@@ -1403,7 +1412,7 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n  or 4 gas (
                        desc => 'reveals cloaked units and removes up to 100 shields and energy',
                        cost => 75,
                        range => 10,
-                       radius => 1.5,
+                       radius => 1.5, # 2 after upgrade
                },
                {
                        name => 'Personal Cloaking',
@@ -2613,6 +2622,7 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n  or 4 gas (
                        build => 100,
                        speed => 0.5625,
                        creep => -0.302,
+                       speed => $V ge v5.0.11 ? .98 : .79, #TODO
                },
        ],
 },
index 9ce266118df011bc127a36b8298c98eeaaabfc19..95e7406f775fc3686081945d24bb3304a7a5cdc3 100644 (file)
@@ -509,6 +509,20 @@ $unit{marine},
                $unit{ghost}->{special}->[2], # cloak
                $unit{ghost}->{special}->[3], # tac nuke strike
        ],
+       upgrade => [
+               $V ge v5.0.11 || $V lt v4.10.1 ? () : {
+                       name => 'Enhanced Shockwaves',
+                       min => 150,
+                       gas => 150,
+                       build => 79,
+                       special => [
+                               {},
+                               { radius => .5 }, # emp
+                               {},
+                               {},
+                       ],
+               },
+       ],
 },
 
 {