9ad11e6 follow-up, prevent Halion respawn without loot

tagging #21198
This commit is contained in:
Treeston authored and Ovahlord committed 2020-07-22 16:59:17 +02:00
1 parent c328eb6b10
commit 4411a5389c
1 file changed
+3
@@ -617,6 +617,9 @@ class npc_halion_controller : public CreatureScript
void JustExitedCombat() override
{
if (_instance->GetBossState(DATA_HALION) == DONE)
return;
if (Creature* twilightHalion = _instance->GetCreature(DATA_TWILIGHT_HALION))
{
twilightHalion->DespawnOrUnsummon();