fix(Scripts/ZulAman): Reset threat after Zuljin does his phase transi… (#20782)

fix(Scripts/ZulAman): Reset threat after Zuljin does his phase transition transformation
This commit is contained in:
Andrew
2024-11-30 15:13:25 -03:00
committed by GitHub
parent afc81098f2
commit 00109faa86

View File

@@ -309,6 +309,7 @@ struct boss_zuljin : public BossAI
me->m_Events.AddEventAtOffset([&] {
me->SetReactState(REACT_AGGRESSIVE);
DoCastSelf(Transform[_nextPhase].spell);
DoResetThreatList();
if (_nextPhase == PHASE_EAGLE)
{
@@ -331,7 +332,6 @@ struct boss_zuljin : public BossAI
me->SetReactState(REACT_PASSIVE);
DoStopAttack();
me->GetMotionMaster()->Clear();
DoResetThreatList();
me->SetUInt32Value(UNIT_VIRTUAL_ITEM_SLOT_ID, 0);
me->RemoveAurasDueToSpell(Transform[NextPhase].unaura);