mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 21:56:22 +00:00
fix(Scripts/ZulAman): Narolakk dont engage after wave dies and attack… (#20615)
* fix(Scripts/ZulAman): Narolakk dont engage after wave dies and attackable * Update boss_nalorakk.cpp
This commit is contained in:
@@ -111,7 +111,6 @@ struct boss_nalorakk : public BossAI
|
||||
_phase = PHASE_START_COMBAT;
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
_active = false;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -199,22 +198,12 @@ struct boss_nalorakk : public BossAI
|
||||
me->GetCreaturesWithEntryInRange(_waveList, 25.0f, NPC_AMANISHI_MEDICINE_MAN);
|
||||
GroupedAttack(_waveList);
|
||||
Talk(SAY_WAVE4);
|
||||
_introScheduler.Schedule(5s, GROUP_CHECK_DEAD, [this](TaskContext context)
|
||||
{
|
||||
if (CheckFullyDeadGroup(_waveList))
|
||||
if (_phase == PHASE_SEND_GUARDS_4)
|
||||
{
|
||||
_introScheduler.CancelGroup(GROUP_CHECK_DEAD);
|
||||
me->SetHomePosition(me->GetPosition());
|
||||
me->SetImmuneToAll(false);
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
me->SetInCombatWithZone();
|
||||
_waveList.clear();
|
||||
_phase = PHASE_START_COMBAT;
|
||||
_ranIntro = true;
|
||||
}
|
||||
context.Repeat(5s);
|
||||
});
|
||||
_waveList.clear();
|
||||
_phase = PHASE_START_COMBAT;
|
||||
_ranIntro = true;
|
||||
me->SetImmuneToAll(false);
|
||||
me->SetReactState(REACT_AGGRESSIVE);
|
||||
me->SetHomePosition(me->GetPosition());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user