fix(Core/Raid/Boss Script): Naxxramas boss loatheb kill event (#2098)

This commit is contained in:
GMKyle
2019-08-01 03:32:28 -04:00
committed by Stoabrogga
parent 9ea1b0e6be
commit 48f6b33512

View File

@@ -103,8 +103,9 @@ public:
events.ScheduleEvent(EVENT_SPELL_BERSERK, 720000);
}
void JustDied(Unit* /*killer*/) override
void JustDied(Unit* killer) override
{
BossAI::JustDied(killer);
if (pInstance)
pInstance->SetData(BOSS_LOATHEB, DONE);
summons.DespawnAll();