index: release v1.18 with only altgr index linked
[sheet.git] / sc-units-lotv.inc.pl
index ca4b9c6e9b74a9454a2bac4cf1ab1686a3fe582b..9a2433dc254cc965b583aa3904bf48f8e38695b1 100644 (file)
@@ -1,7 +1,7 @@
 use utf8;
 use strict;
 
-my $V = v5.0.2;
+my $V = v5.0.11;
 my $RT = 1.4;  # real-time speed factor to faster
 
 my $hots = do 'sc-units-hots.inc.pl' or die $!;
@@ -58,7 +58,10 @@ $unit{photon_cannon},
                $V lt v4.12.0 ? () : {
                        name => 'Battery Overcharge',
                        abbr => 'bo',
-                       desc => 'increase target Shield Battery restoration rate by 100% and function without consuming energy for 14s',
+                       desc => sprintf(
+                               'increase target Shield Battery restoration rate by %d%% and function without consuming energy for 14s',
+                               $V ge v5.0.11 ? 50 : 100,
+                       ),
                        cost => 50,
                        duration => 14,
                        cooldown => 60, # shared by all nexuses
@@ -93,6 +96,8 @@ $unit{photon_cannon},
 
 {
        %{ $unit{sentry} },
+       build => $V ge v5.0.11 ? 22.9 : 26.4,
+       speed => $V ge v5.0.11 ? 3.5 : 3.15,
        special => [
                $unit{sentry}->{special}->[0], # ff
                {
@@ -191,6 +196,7 @@ $unit{photon_cannon},
 
 {
        %{ $unit{high_templar} },
+       speed => $V ge v5.0.11 ? 2.82 : 2.63,
        attack => [
                {
                        anti => 1,
@@ -217,7 +223,7 @@ $unit{photon_cannon},
                {
                        name => 'Shadow Stride',
                        abbr => 'bl',
-                       desc => 'teleport to visible location',
+                       desc => sprintf('teleport to visible location, %.2fs attack delay afterwards', $V ge v5.0.11 ? .71 : .75),
                        min => 100,
                        gas => 100,
                        build => $V lt v4.7.1 ? 121 : 100,
@@ -231,7 +237,8 @@ $unit{archon},
 
 {
        %{ $unit{observer} },
-       speed => $V lt v4.8.2 || $V ge v4.11.0 ? 2.63 : 3.01,
+       speed => $V ge v5.0.11 ? 2.82 : $V lt v4.8.2 || $V ge v4.11.0 ? 2.63 : 3.01,
+       size => $V ge v5.0.11 ? 1.1 : 1,
        special => [
                $unit{observer}->{special}->[0], # cloak
                {
@@ -302,7 +309,7 @@ $unit{immortal},
                                shields => 55,
                        },
                        type => 'trans', #TODO: indicate
-                       splash => 1.5,
+                       splash => $V ge v5.0.11 ? 1.375 : 1.5,
                        cooldown => 14.3,
                        range => 13, # 2s
                },
@@ -315,9 +322,9 @@ $unit{phoenix},
 
 {
        %{ $unit{void_ray} },
-       min => $V lt v5.0.2 ? 250 : 200,
+       min => $V lt v5.0.9 && $V ge v5.0.2 ? 200 : 250,
        speed => $V lt v5.0.2 ? 3.5 : 3.85,
-       build => $V lt v5.0.2 ? 43 : 37,
+       build => $V lt v5.0.9 && $V ge v5.0.2 ? 37 : 43,
        upgrade => [
                {
                        name => 'Flux Vanes',
@@ -356,6 +363,7 @@ $unit{phoenix},
                        cooldown => $V lt v4.12.0 ? 2 : 10,
                        duration => $V lt v4.12.0 ? 30 : $V lt v5.0.2 ? 15 : 20,
                        radius => 6,
+                       detect => 1,
                },
                {
                        name => 'Stasis Ward',
@@ -492,16 +500,30 @@ $unit{marine},
                        abbr => 'st',
                        desc => '170 damage ignoring armor to a biological unit after 1.43s without damage',
                        cost => 50,
-                       range => 10,
+                       range => 10, # kept until 14
                        duration => 1.43,
                },
                {
                        %{ $unit{ghost}->{special}->[1] }, # emp round
-                       radius => $V lt v4.10.1 ? 1.5 : 2,
+                       radius => $V ge v5.0.11 ? 1.75 : $V lt v4.10.1 ? 1.5 : 2,
                },
                $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
+                               {},
+                               {},
+                       ],
+               },
+       ],
 },
 
 {
@@ -541,6 +563,7 @@ $unit{marine},
                        bonus => {
                                shields => 25,
                        },
+                       transform => $V lt v5.0.9 ? .71 : 1.07,
                },
        ],
 },
@@ -603,8 +626,11 @@ $unit{marine},
                {
                        name => 'Lock On',
                        abbr => 'lo',
-                       desc => $V lt v4.7.1 ? 'target air for 160 damage ignoring armor while visible and within 15 range'
-                                            : 'deal 400 damage (double to armored after upgrade) over 14 seconds',
+                       desc => (
+                               $V ge v5.0.11 ? 'deal 400 damage (600 after upgrade) over 14 seconds' :
+                               $V ge v4.7.1 ? 'deal 400 damage (double to armored after upgrade) over 14 seconds' :
+                               'target air for 160 damage ignoring armor while visible and within 15 range'
+                       ),
                        range => 7,
                        duration => 14.3,
                        cooldown => 4,
@@ -624,7 +650,7 @@ $unit{marine},
                        min => 100,
                        gas => 100,
                        build => $V lt v4.8.2 ? 79 : 100,
-                       desc => 'increases lock-on damage to ',
+                       desc => 'increases lock-on damage by '.($V ge v5.0.11 ? '50%' : '100% vs armored'),
                },
        ],
 },
@@ -687,7 +713,7 @@ $unit{marine},
 
        pop => 3,
        min => 150,
-       gas => 150,
+       gas => $V ge v5.0.11 ? 125 : 150,
        build => 43,
        size => 1.5,
        armor => 0,
@@ -755,16 +781,19 @@ $unit{marine},
                {
                        name => 'Hyperflight Rotors',
                        speed => 1.4,
-                       min => $V lt v4.7.1 ? 200 : 150,
-                       gas => $V lt v4.7.1 ? 200 : 150,
-                       build => 121,
+                       min => $V ge v5.0.11 ? 125 : $V ge v4.7.1 ? 150 : 200,
+                       gas => $V ge v5.0.11 ? 125 : $V ge v4.7.1 ? 150 : 200,
+                       build => $V ge v5.0.11 ? 100 : 121.4,
                },
        ],
 },
 
 {
        %{ $unit{raven} },
+       gas => $V ge v5.0.11 ? 150 : 200,
+       build => $V ge v5.0.11 ? 34.3 : 42.9,
        speed => $V lt v4.11.0 ? 3.85 : 4.13,
+       upgrade => $V ge v5.0.11 ? [] : $unit{raven}->{upgrade}, # corvid reactor
        special => [
                {
                        %{ $unit{raven}->{special}->[0] }, # auto-turret
@@ -777,8 +806,10 @@ $unit{marine},
                                        range => 6,
                                },
                        ],
+                       hp => $V ge v5.0.11 ? 100 : 150,
+                       armor => $V ge v5.0.11 ? 0 : 1,
                        range => $V lt v4.3.0 ? 1 : 2,
-                       duration => 10,
+                       duration => $V ge v5.0.11 ? 7.9 : 10,
                        upgrade => [
                                $unit{raven}->{special}->[0]->{upgrade}->[0], # hi-sec auto tracking
                                $unit{raven}->{special}->[0]->{upgrade}->[1], # structure armor
@@ -796,8 +827,10 @@ $unit{marine},
                {
                        name => 'Anti-Armor Missile',
                        abbr => 'aa',
-                       desc => $V lt v4.7.1 ? 'launches missile to do splash damage and reduce armor by 3'
-                                            : 'launches missile to reduce armor by 3',
+                       desc => sprintf('launches missile %s reduce armor by %d',
+                               $V lt v4.7.1 ? 'to do splash damage and' : 'to',
+                               $V ge v5.0.11 ? 2 : 3,
+                       ),
                        range => 10,
                        size => 2.88,
                        attack => [
@@ -956,7 +989,7 @@ $unit{zergling},
        pop => 3,
        min => 25,
        gas => 75,
-       build => 9,
+       build => $V ge v5.0.11 ? 12.14 : 8.57+.36, # added max random
        size => 1.5,
        cargo => 4,
        armor => 1,
@@ -1015,7 +1048,7 @@ $unit{zergling},
        attack => [
                {
                        anti => 1,
-                       name => '?',
+                       name => 'Spines',
                        damage => 20,
                        upgrade => 2,
                        splash => 'line',
@@ -1027,6 +1060,7 @@ $unit{zergling},
                        },
                },
        ],
+       transform => 2.0,
        upgrade => [
                $V lt v4.11.0 ? () : {
                        name => 'Seismic Spines',
@@ -1040,6 +1074,12 @@ $unit{zergling},
                        gas => 150,
                        build => 57,
                },
+               {
+                       name => 'Adaptive Talons',
+                       desc => 'halves burrow time and increases movement speed',
+                       speed => .413,
+                       transform => $V lt v5.0.9 ? .71 : 1.07,
+               },
        ],
        speed => 4.13,
        creep => 1.3,
@@ -1101,12 +1141,18 @@ $unit{zergling},
 
 $unit{mutalisk},
 $unit{corruptor},
-$unit{brood_lord},
+
+{
+       %{ $unit{brood_lord} },
+       speed => $V ge v5.0.11 ? 2.24 : 1.97,
+},
+
 $unit{viper},
 
 {
        %{ $unit{ultralisk} },
        armor => 2,
+       size => $V ge v5.0.11 ? 1.75 : 2,
        upgrade => [
                $unit{ultralisk}->{upgrade}->[0], # chitinous plating
                {