fix(Scripts/Magtheridon): add correct way to reset threat list (#17198)
* test * fix but check * fix?
This commit is contained in:
@@ -170,7 +170,7 @@ struct boss_magtheridon : public BossAI
|
|||||||
|
|
||||||
void ScheduleCombatEvents()
|
void ScheduleCombatEvents()
|
||||||
{
|
{
|
||||||
me->GetThreatMgr().ClearAllThreat();
|
DoResetThreatList();
|
||||||
me->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
me->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
|
||||||
me->SetImmuneToPC(false);
|
me->SetImmuneToPC(false);
|
||||||
me->SetReactState(REACT_AGGRESSIVE);
|
me->SetReactState(REACT_AGGRESSIVE);
|
||||||
|
|||||||
Reference in New Issue
Block a user