mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies (#24763)
This commit is contained in:
@@ -234,8 +234,12 @@ public:
|
||||
_abominationDeathCount = 0;
|
||||
_phaseThree = false;
|
||||
}
|
||||
|
||||
void EnterEvadeMode(EvadeReason /*why*/) override
|
||||
{
|
||||
if (!me->IsAlive())
|
||||
return;
|
||||
|
||||
for (NAXData64 portalData : portalList)
|
||||
if (GameObject* portal = ObjectAccessor::GetGameObject(*me, instance->GetGuidData(portalData)))
|
||||
portal->SetGoState(GO_STATE_READY);
|
||||
|
||||
Reference in New Issue
Block a user