From 347e0e7e162fc664d2ef3f15ea967e1edf448c63 Mon Sep 17 00:00:00 2001 From: Ziktofel Date: Thu, 28 Nov 2024 23:27:40 +0100 Subject: [PATCH] Fix Brutal Last stand --- .../LotV/ap_last_stand.SC2Map/DocumentHeader | Bin 3034 -> 3034 bytes .../ap_last_stand.SC2Map/MapScript.galaxy | 23 +--- .../LotV/ap_last_stand.SC2Map/Triggers | 114 ++---------------- .../ap_last_stand.SC2Map/Triggers.version | Bin 44 -> 44 bytes .../LocalizedData/TriggerStrings.txt | 1 - 5 files changed, 10 insertions(+), 128 deletions(-) diff --git a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/DocumentHeader b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/DocumentHeader index c368ccbb94a463261081a3d935ad532a8d2e91bd..fc10d67cb1da14c07efce219faa7233287bc6cd7 100644 GIT binary patch delta 19 Ycmca5eoK6U49B4rx=TTLqslgJ09T#}r2qf` delta 19 Ycmca5eoK6U42RXVgF8TYqslgJ09u3zKL7v# diff --git a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/MapScript.galaxy b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/MapScript.galaxy index de2903220..303525a99 100644 --- a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/MapScript.galaxy +++ b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/MapScript.galaxy @@ -877,6 +877,7 @@ bool gt_FactionSwapInit_Func (bool testConds, bool runActions) { //-------------------------------------------------------------------------------------------------- void gt_FactionSwapInit_Init () { gt_FactionSwapInit = TriggerCreate("gt_FactionSwapInit_Func"); + TriggerAddEventGeneric(gt_FactionSwapInit, lib5BD4895D_gv_aP_Core_LOAD_FINISHED_EVENT); } //-------------------------------------------------------------------------------------------------- @@ -985,28 +986,7 @@ void gt_onDifficultyHard_Init () { // Trigger: onDifficultyBrutal //-------------------------------------------------------------------------------------------------- bool gt_onDifficultyBrutal_Func (bool testConds, bool runActions) { - // Variable Declarations - unit lv_currentUnit; - // Automatic Variable Declarations - unitgroup auto80A49F70_g; - int auto80A49F70_u; - - // Variable Initialization - - // Actions - if (!runActions) { - return true; - } - - auto80A49F70_g = UnitGroupFromId(4); - auto80A49F70_u = UnitGroupCount(auto80A49F70_g, c_unitCountAll); - for (;; auto80A49F70_u -= 1) { - lv_currentUnit = UnitGroupUnitFromEnd(auto80A49F70_g, auto80A49F70_u); - if (lv_currentUnit == null) { break; } - AIToggleBulliesInRegion(UnitGetOwner(lv_currentUnit), RegionCircle(UnitGetPosition(lv_currentUnit), 0.5), false); - UnitRemove(lv_currentUnit); - } return true; } @@ -1057,7 +1037,6 @@ bool gt_Initialization_Func (bool testConds, bool runActions) { TriggerExecute(gt_Init04MusicSound, true, false); TriggerExecute(gt_Init05Environment, true, false); TriggerExecute(gt_Init06Difficulties, true, false); - TriggerExecute(gt_FactionSwapInit, true, true); TriggerExecute(gt_IntroQ, true, true); TriggerExecute(gt_StartGameQ, true, false); return true; diff --git a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/Triggers b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/Triggers index 74489265c..386e3ed8b 100644 --- a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/Triggers +++ b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/Triggers @@ -14,8 +14,17 @@ + + + + + + + + + @@ -584,91 +593,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0.5 - - - - - - - - - - Archinit @@ -948,7 +872,6 @@ - @@ -1094,25 +1017,6 @@ - - - - - - - - - - - - - - - - - - - diff --git a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/Triggers.version b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/Triggers.version index acd96e1494065ba4753f283072ba7b72ce5a3a7a..91a82979d6b975a6898bf499dd3956ec4deeaf2f 100644 GIT binary patch delta 17 XcmdPVnV`Vq&A`C$>#avRBaj9FCJzJm delta 17 XcmdPVnV`Vq$-uzi{n8_y5l907AY%hU diff --git a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/enUS.SC2Data/LocalizedData/TriggerStrings.txt b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/enUS.SC2Data/LocalizedData/TriggerStrings.txt index df28e60a0..7e7cc8fb9 100644 --- a/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/enUS.SC2Data/LocalizedData/TriggerStrings.txt +++ b/Maps/ArchipelagoCampaign/LotV/ap_last_stand.SC2Map/enUS.SC2Data/LocalizedData/TriggerStrings.txt @@ -274,7 +274,6 @@ Variable/Name/EAF8F9AC=QueenCounts Variable/Name/ED35DC17=CameraDuration Variable/Name/F00EAA76=ZergRespawnTimers Variable/Name/F07108AD=Location -Variable/Name/F44CDE0D=currentUnit Variable/Name/F4AAC214=Objective_OverloadTemple Variable/Name/F4F3FEDE=Index Variable/Name/F7AC5F4A=ZenithStonesTotal