fix(Scripts/Magtheridon): Remove ThreatList before release (#17128)

init
This commit is contained in:
Eddy Vega 2023-09-05 03:37:04 -06:00 committed by GitHub
parent 52d07bbfae
commit 056b28ea21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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