From af3ded6889960858a696cf0223461d9dad852a59 Mon Sep 17 00:00:00 2001 From: Andrew <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 1 Dec 2024 14:08:11 -0300 Subject: [PATCH] fix(Scripts/ZulAman): Fix Zuljin targetting players during eagle phase (#20808) --- .../scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp index b78724e29..66959734b 100644 --- a/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp +++ b/src/server/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp @@ -15,12 +15,6 @@ * with this program. If not, see . */ -/* ScriptData -SDName: Boss_ZulJin -SD%Complete: 85% -SDComment: -EndScriptData */ - #include "CreatureScript.h" #include "Player.h" #include "ScriptedCreature.h" @@ -307,7 +301,6 @@ struct boss_zuljin : public BossAI Talk(Transform[_nextPhase].text); me->m_Events.AddEventAtOffset([&] { - me->SetReactState(REACT_AGGRESSIVE); DoCastSelf(Transform[_nextPhase].spell); DoResetThreatList(); @@ -316,9 +309,11 @@ struct boss_zuljin : public BossAI me->SetCombatMovement(false); DoCastSelf(SPELL_ENERGY_STORM, true); // enemy aura DoCastAOE(SPELL_SUMMON_CYCLONE, true); + me->SetFacingTo(me->GetHomePosition().GetOrientation()); } else { + me->SetReactState(REACT_AGGRESSIVE); me->SetCombatMovement(true); me->ResumeChasingVictim(); }