From 250628881081baec12e454ed6aa1c6d039f33a55 Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Mon, 13 Jul 2026 16:38:06 -0300 Subject: [PATCH] fix(Scripts/Ulduar): set Algalon encounter state through SetBossState (#26582) Co-authored-by: Claude Fable 5 --- .../Ulduar/Ulduar/boss_algalon_the_observer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp index 0af5863dc..c57e0d6cd 100644 --- a/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp +++ b/src/server/scripts/Northrend/Ulduar/Ulduar/boss_algalon_the_observer.cpp @@ -364,7 +364,7 @@ struct boss_algalon_the_observer : public ScriptedAI } if (_instance) - _instance->SetData(BOSS_ALGALON, FAIL); + _instance->SetBossState(BOSS_ALGALON, FAIL); ScriptedAI::EnterEvadeMode(why); } @@ -391,7 +391,7 @@ struct boss_algalon_the_observer : public ScriptedAI } if (_instance) - _instance->SetData(BOSS_ALGALON, NOT_STARTED); + _instance->SetBossState(BOSS_ALGALON, NOT_STARTED); } void KilledUnit(Unit* victim) override @@ -446,7 +446,7 @@ struct boss_algalon_the_observer : public ScriptedAI me->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE); me->InterruptNonMeleeSpells(false); if (_instance) - _instance->SetData(BOSS_ALGALON, NOT_STARTED); + _instance->SetBossState(BOSS_ALGALON, NOT_STARTED); break; case ACTION_INIT_ALGALON: _firstPull = false; @@ -660,7 +660,7 @@ struct boss_algalon_the_observer : public ScriptedAI brann->AI()->DoAction(ACTION_FINISH_INTRO); break; case EVENT_START_COMBAT: - _instance->SetData(BOSS_ALGALON, IN_PROGRESS); + _instance->SetBossState(BOSS_ALGALON, IN_PROGRESS); Talk(SAY_ALGALON_AGGRO); break; case EVENT_REMOVE_UNNATTACKABLE: @@ -737,7 +737,7 @@ struct boss_algalon_the_observer : public ScriptedAI case EVENT_OUTRO_START: if (_instance) { - _instance->SetData(BOSS_ALGALON, DONE); + _instance->SetBossState(BOSS_ALGALON, DONE); _instance->SetData(DATA_ALGALON_DEFEATED, 1); } break;