From 78535a7725d2dbf3c0377b9d8069773349ca8c12 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Sat, 7 Sep 2024 16:22:42 +0200 Subject: [PATCH] sc: lotv patch v5.0.12 (2023-09-29) Reference: --- sc-units-hots.inc.pl | 9 +- sc-units-lotv.inc.pl | 209 +++++++++++++++++++++++++++++++++++-------- 2 files changed, 176 insertions(+), 42 deletions(-) diff --git a/sc-units-hots.inc.pl b/sc-units-hots.inc.pl index 9b49af2..1b94875 100644 --- a/sc-units-hots.inc.pl +++ b/sc-units-hots.inc.pl @@ -801,7 +801,7 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n or 4 gas ( { name => 'Prismatic Alignment', abbr => 'pa', - desc => 'increases damage to armored by 6 for 20 seconds', + desc => 'increases damage to armored by 6 (while reducing speed by 25%) for 20 seconds', duration => 20, cooldown => 60, attack => [ @@ -2227,6 +2227,7 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n or 4 gas ( abbr => 'gc', desc => 'place Zerg creep at current location', duration => 15, + delay => $V ge v5.0.12 ? 1.07 : 1.43, radius => 2, req => 'Lair', }, @@ -2607,9 +2608,9 @@ my $GATHER = "gather 5 minerals (7 gold) after 4s (upto 60/minute)\n or 4 gas ( upgrade => [ { name => 'Grooved Spines', - min => 150, - gas => 150, - build => 80, + min => 100, + gas => 100, + build => 100, attack => [ { range => 1, diff --git a/sc-units-lotv.inc.pl b/sc-units-lotv.inc.pl index 9a2433d..df8b843 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.11; +my $V = v5.0.12; my $RT = 1.4; # real-time speed factor to faster my $hots = do 'sc-units-hots.inc.pl' or die $!; @@ -27,14 +27,39 @@ $unit{photon_cannon}, { %{ $unit{mothership} }, - speed => 2.62, + pop => $V ge v5.0.12 ? 6 : 8, + min => $V ge v5.0.12 ? 300 : 400, + gas => $V ge v5.0.12 ? 300 : 400, + build => $V ge v5.0.12 ? 79 : 114, + size => $V ge v5.0.12 ? 2.475 : 2.75, + hp => $V ge v5.0.12 ? 250 : 350, + shield => $V ge v5.0.12 ? 250 : 350, + speed => $V ge v5.0.12 ? 2.83 : 2.62, # rotation speed also increased + energy => $V ge v5.0.12 ? 0 : 50, special => [ - $unit{mothership}->{special}->[0], # cf - $unit{mothership}->{special}->[1], # mr + { + %{ $unit{mothership}->{special}->[0] }, # cf + $V lt v5.0.12 ? () : ( + cooldown => 50, + duration => 20, + desc => $unit{mothership}->{special}->[0]->{desc} . ' for 20s', + ), + }, + { + %{ $unit{mothership}->{special}->[1] }, # mr + cost => $V ge v5.0.12 ? 0 : 100, + cooldown => $V ge v5.0.12 ? 89 : 0, + radius => $V ge v5.0.12 ? 5 : 6.5, + }, { %{ $unit{mothership}->{special}->[2] }, # tw - desc => $V lt v4.11.0 ? 'create a temporal field which slows ground units by 50%' - : 'create a temporal field which slows ground and air units by 50%', + desc => $V lt v4.11.0 ? 'create a temporal field which slows ground units by 50%' : + $V lt v5.0.12 ? 'create a temporal field which slows ground and air units by 50%' : + 'create a temporal field which slows ground and air units by 40%', + cost => $V ge v5.0.12 ? 0 : 100, + cooldown => $V ge v5.0.12 ? 60 : 0, + radius => $V ge v5.0.12 ? 3.75 : 4, + delay => $V ge v5.0.12 ? .71 : 1.79, }, ], }, @@ -103,6 +128,7 @@ $unit{photon_cannon}, { %{ $unit{sentry}->{special}->[1] }, # gs radius => $V lt v4.7.1 ? 4 : 4.5, + duration => $V ge v5.0.12 ? 12.86 : 10.71, }, { %{ $unit{sentry}->{special}->[2] }, # hl @@ -265,7 +291,19 @@ $unit{archon}, ], }, -$unit{immortal}, +{ + %{ $unit{immortal} }, + min => $V ge v4.8.2 ? 275 : 250, + special => [ + { + name => 'Barrier', + abbr => 'br', + desc => 'block initial damage, then absorb up to 100 damage for 2s', + duration => 2, + cooldown => $V ge v3.8.0 ? 32 : 43, + }, + ], +}, { %{ $unit{colossus} }, @@ -287,11 +325,11 @@ $unit{immortal}, race => 'protoss', cat => 'robotic', name => 'Disruptor', - pop => 3, + pop => $V ge v5.0.12 ? 4 : 3, min => 150, gas => 150, build => 36, - size => 1, + size => $V ge v5.0.12 ? 1.25 : 1, # much larger model cargo => 4, armor => 1, hp => 100, @@ -381,7 +419,7 @@ $unit{phoenix}, light => 1, structure => 1, }, - sight => 0, + sight => $V ge v5.0.12 ? 7 : 4, speed => 0, special => [ { @@ -408,6 +446,8 @@ $unit{phoenix}, gas => $V lt v4.7.1 ? 200 : 175, pop => $V lt v4.7.1 ? 6 : 5, speed => $V lt v4.7.1 ? 2.63 : $V lt v4.8.2 ? 3.5 : 3.15, + # acceleration increased in v5.0.12 + size => $V ge v5.0.12 ? 2.25 : 2.5, attack => [ { %{ $unit{tempest}->{attack}->[0] }, # kinetic overload @@ -498,14 +538,15 @@ $unit{marine}, # replaces Sniper Round name => 'Steady Targeting', abbr => 'st', - desc => '170 damage ignoring armor to a biological unit after 1.43s without damage', + desc => ($V ge v5.0.12 ? '130 damage (+40 psionic)' : '170 damage') . + ' ignoring armor to a biological unit after 1.43s without damage', cost => 50, range => 10, # kept until 14 duration => 1.43, }, { %{ $unit{ghost}->{special}->[1] }, # emp round - radius => $V ge v5.0.11 ? 1.75 : $V lt v4.10.1 ? 1.5 : 2, + radius => $V ge v5.0.12 || $V lt v4.10.1 ? 1.5 : $V lt v5.0.11 ? 2 : 1.75, }, $unit{ghost}->{special}->[2], # cloak $unit{ghost}->{special}->[3], # tac nuke strike @@ -552,6 +593,19 @@ $unit{marine}, transform => -1.43, # halve #TODO: alter special duration? }, ], + upgrade => [ + { + %{ $unit{hellbat}->{upgrade}->[0] }, # Pre-Igniter + attack => [ + { + bonus => { + light => 12, + -light => $V ge v5.0.12 ? 0 : 1, + }, + }, + ], + }, + ], }, { @@ -566,6 +620,12 @@ $unit{marine}, transform => $V lt v5.0.9 ? .71 : 1.07, }, ], + upgrade => [ + { + %{ $unit{widow_mine}->{upgrade}->[0] }, # drilling claws + desc => 'halves burrow/unburrow time from upto 2½/1 to 1½/½ seconds', + }, + ], }, { @@ -595,13 +655,13 @@ $unit{marine}, cat => 'factory', name => 'Cyclone', pop => 3, - min => 150, - gas => 100, + min => $V ge v5.0.12 ? 125 : 150, + gas => $V ge v5.0.12 ? 50 : 100, build => 32, size => 1.5, - cargo => 3, - armor => 1, - hp => $V lt v4.7.1 ? 180 : 120, + cargo => $V ge v5.0.12 ? 2 : 3, + armor => $V ge v5.0.12 ? 0 : 1, + hp => $V ge v5.0.12 ? 110 : $V ge v4.7.1 ? 120 : 180, attr => { armored => 1, mech => 1, @@ -610,30 +670,32 @@ $unit{marine}, { anti => 1, name => $V lt v4.7.1 ? 'Tornado Blaster' : 'Typhoon Missile Pod', - damage => $V lt v4.7.1 ? 3 : 18, + damage => $V ge v5.0.12 ? 11 : $V ge v4.7.1 ? 18 : 3, upgrade => $V lt v4.7.1 ? 1 : 2, bonus => $V ge v4.7.1 ? {} : { - armored => 2, + armored => $V ge v5.0.12 ? 0 : 2, -armored => 0, + mech => $V ge v5.0.12 ? 3 : 0, }, - cooldown => $V lt v4.7.1 ? .1 : .71, - range => $V lt v4.7.1 ? 6 : 5, + cooldown => $V lt v4.7.1 ? .1 : $V lt v5.0.12 ? .71 : .481, + range => $V ge v5.0.12 || $V lt v4.7.1 ? 6 : 5, }, ], - speed => $V lt v4.7.1 ? 4.13 : 4.73, + speed => $V ge v5.0.12 ? 3.94 : $V ge v4.7.1 ? 4.73 : 4.13, sight => 11, special => [ { name => 'Lock On', abbr => 'lo', desc => ( + $V ge v5.0.12 ? 'attack single target while within 9 range' : $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, + range => $V lt v5.0.12 ? 7 : 6, + duration => $V lt v5.0.12 ? 14.3 : 0, + cooldown => $V lt v5.0.12 ? 4 : 0, }, $V ge v4.7.1 ? () : { name => 'Rapid Fire Launchers', @@ -645,13 +707,20 @@ $unit{marine}, }, ], upgrade => [ - $V lt v4.7.1 ? () : { + $V ge v5.0.12 || $V lt v4.7.1 ? () : { name => 'Mag-Field Accelerator', min => 100, gas => 100, build => $V lt v4.8.2 ? 79 : 100, desc => 'increases lock-on damage by '.($V ge v5.0.11 ? '50%' : '100% vs armored'), }, + $V lt v5.0.12 ? () : { + name => 'Hurricane Engines', + speed => .79, + min => 100, + gas => 100, + build => 100, + }, ], }, @@ -696,7 +765,13 @@ $unit{marine}, }, ], upgrade => [ - { + $V ge v5.0.12 ? { + name => 'Caduceus Reactor', + desc => 'double energy regeneration rate', + min => 100, + gas => 100, + build => 53.57, + } : { name => 'Rapid Reignition System', min => 100, gas => 100, @@ -820,6 +895,11 @@ $unit{marine}, name => 'Interference Matrix', abbr => 'im', desc => 'disable target mech or psionic unit rendering it unable to attack or cast', + $V lt v5.0.12 ? () : ( + min => 50, + gas => 50, + build => 57.14, + ), cost => $V lt v4.11.0 ? 50 : 75, range => 9, duration => $V lt v4.11.0 ? 7.9 : 11, @@ -895,13 +975,17 @@ $unit{drone}, { %{ $unit{overlord} }, - speed => .902, # changed in 4.0.0 + speed => .9023, # changed in 4.0.0 + # deceleration speed increased in v5.0.12 upgrade => [ { %{ $unit{overlord}->{upgrade}->[0] }, # carapace - speed => 2.63-.902, + speed => ($V ge v5.0.12 ? 2.83 : 2.63)-.9023, + }, + { + %{ $unit{overlord}->{upgrade}->[1] }, # sacs + speed => $V ge v5.0.12 ? 1.099-.9023 : 0, }, - $unit{overlord}->{upgrade}->[1], # sacs ], }, @@ -948,7 +1032,7 @@ $unit{zergling}, damage => $V lt v4.12.0 ? 20 : $V lt v5.0.2 ? 18 : 15, bonus => { light => $V lt v4.12.0 ? 15 : $V lt v5.0.2 ? 17 : 20, - -light => 2, + -light => $V ge v5.0.12 ? 0 : 2, structure => 80, -structure => 5, }, @@ -959,7 +1043,13 @@ $unit{zergling}, upgrade => [ { %{ $unit{baneling}->{upgrade}->[0] }, # centrifugal hooks - hp => 5, + $V ge v5.0.12 ? ( + min => 100, + gas => 100, + build => 71, + ) : ( + hp => 5, + ), }, ], }, @@ -1019,13 +1109,19 @@ $unit{zergling}, upgrade => [ { %{ $unit{hydralisk}->{upgrade}->[0] }, # grooved spines + min => $V ge v5.0.12 ? 75 : 100, + gas => $V ge v5.0.12 ? 75 : 100, + build => $V ge v5.0.12 ? 50 : 71, attack => [ { range => 2, }, ], }, - $unit{hydralisk}->{upgrade}->[1], # muscular augments + { + %{ $unit{hydralisk}->{upgrade}->[1] }, # muscular augments + build => $V ge v5.0.12 ? 64 : 71, + }, ], }, @@ -1076,9 +1172,13 @@ $unit{zergling}, }, { name => 'Adaptive Talons', - desc => 'halves burrow time and increases movement speed', - speed => .413, + desc => $V ge v5.0.12 ? 'halves burrow time from 2 seconds to 1' : + 'halves burrow time and increases movement speed', + speed => $V ge v5.0.12 ? 0 : .413, transform => $V lt v5.0.9 ? .71 : 1.07, + min => $V ge v5.0.12 ? 100 : 150, + gas => $V ge v5.0.12 ? 100 : 150, + build => 57, }, ], speed => 4.13, @@ -1088,12 +1188,17 @@ $unit{zergling}, { %{ $unit{infestor} }, + energy => $V ge v5.0.12 ? 75 : 50, special => [ { %{ $unit{infestor}->{special}->[0] }, # neural parasite range => $V lt v4.11.0 ? 9 : 8, }, - $unit{infestor}->{special}->[1], # fungal growth + { + %{ $unit{infestor}->{special}->[1] }, # fungal growth + desc => 'for 4 seconds, immobilize enemy units in target area and deal '.($V lt v5.0.12 ? 30 : 25).' damage', + range => $V lt v5.0.12 ? 10 : 9, + }, { name => 'Microbial Shroud', abbr => 'ms', @@ -1117,6 +1222,9 @@ $unit{zergling}, ], }, ], + upgrade => [ + $V lt v5.0.12 ? $unit{infestor}->{upgrade}->[0] : (), # Pathogen Glands + ], }, { @@ -1144,13 +1252,38 @@ $unit{corruptor}, { %{ $unit{brood_lord} }, - speed => $V ge v5.0.11 ? 2.24 : 1.97, + speed => $V ge v5.0.12 ? 2.62 : $V ge v5.0.11 ? 2.24 : 1.97, + special => [ + { + %{ $unit{brood_lord}->{special}->[0] }, # broodling + attack => [ + { + %{ $unit{brood_lord}->{special}->[0]->{attack}->[0] }, # claws + cooldown => $V ge v5.0.12 ? .57 : .46, + }, + ], + hp => $V ge v5.0.12 ? 20 : 30, + speed => $V ge v5.0.12 ? 4.13 : 5.37, + }, + $unit{brood_lord}->{special}->[1], # fz + ], }, -$unit{viper}, +{ + %{ $unit{viper} }, + special => [ + $unit{viper}->{special}->[0], # bc + $unit{viper}->{special}->[1], # ad + { + %{ $unit{viper}->{special}->[2] }, # consume + desc => 'leaches '.($V ge v5.0.12 ? 150 : 200).' life of friendly building over 20s to gain 50 energy', + }, + ], +}, { %{ $unit{ultralisk} }, + min => $V ge v5.0.12 ? 275 : 300, armor => 2, size => $V ge v5.0.11 ? 1.75 : 2, upgrade => [ -- 2.30.2