fix(Scripts/Magtheridon): add correct way to reset threat list (#17198)

* test

* fix but check

* fix?
This commit is contained in:
Dan 2023-09-06 18:33:34 +02:00 committed by GitHub
parent 4147418a7a
commit 76d1d02dce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,7 +170,7 @@ struct boss_magtheridon : public BossAI
void ScheduleCombatEvents()
{
me->GetThreatMgr().ClearAllThreat();
DoResetThreatList();
me->RemoveUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
me->SetImmuneToPC(false);
me->SetReactState(REACT_AGGRESSIVE);