Scripts/Naxxramas: Fix Kel'thuzad evade mode when he dies (#24763)

This commit is contained in:
Gildor authored and Ovahlord committed 2020-07-27 21:30:11 +02:00
1 parent ae5a3ca7e2
commit 9b59fba528
1 file changed
+4
@@ -232,8 +232,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);