From cc08ed164c1db0845ad68090e90eea8daf4cd3eb Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 23 May 2023 02:34:42 +0200 Subject: [PATCH] sc: lotv patch 5.0.11 Reference: --- sc-units-hots.inc.pl | 4 +-- sc-units-lotv.inc.pl | 61 ++++++++++++++++++++++++++++++-------------- 2 files changed, 44 insertions(+), 21 deletions(-) diff --git a/sc-units-hots.inc.pl b/sc-units-hots.inc.pl index 3cd186f..b3fd1cd 100644 --- a/sc-units-hots.inc.pl +++ b/sc-units-hots.inc.pl @@ -566,7 +566,7 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n or 4 gas ( min => 100, gas => 100, build => 80, - speed => 0.9375, + speed => $V ge v5.0.11 ? 1 : 0.9375, # 50% increase }, ], }, @@ -2919,7 +2919,7 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n or 4 gas ( { name => 'Swarm Seeds', desc => 'Broodlings are spawned upon each attack', - duration => -1, + duration => $V ge v5.0.11 ? 2.55 : 4, alt => 'Broodling', pop => 0, # build => 1, diff --git a/sc-units-lotv.inc.pl b/sc-units-lotv.inc.pl index 76d5896..9ce2661 100644 --- a/sc-units-lotv.inc.pl +++ b/sc-units-lotv.inc.pl @@ -1,7 +1,7 @@ use utf8; use strict; -my $V = v5.0.9; +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, ¾s attack delay afterwards', + 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 }, @@ -492,12 +499,12 @@ $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 @@ -604,8 +611,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, @@ -625,7 +635,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'), }, ], }, @@ -688,7 +698,7 @@ $unit{marine}, pop => 3, min => 150, - gas => 150, + gas => $V ge v5.0.11 ? 125 : 150, build => 43, size => 1.5, armor => 0, @@ -756,16 +766,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 @@ -778,8 +791,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 @@ -797,8 +812,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 => [ @@ -957,7 +974,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, @@ -1109,12 +1126,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 { -- 2.30.0