fix(Scripts/Ulduar): Despawn Salvaged Chopper Tar on FL Defeat (#27327)

This commit is contained in:
sogladev
2026-08-27 06:50:00 -03:00
committed by GitHub
parent 8b246aa730
commit 04989c97eb
@@ -96,6 +96,7 @@ enum GosNpcs
NPC_FLAME_LEVIATHAN_TURRET = 33139,
NPC_SEAT = 33114,
NPC_LIQUID = 33189,
NPC_POOL_OF_TAR = 33090,
// Starting event
NPC_BRANN_RADIO = 34054,
@@ -624,6 +625,11 @@ void boss_flame_leviathan::JustDied(Unit*)
summons.DoAction(ACTION_DESPAWN_ADDS);
summons.DespawnAll();
std::list<Creature*> tarPools;
me->GetCreatureListWithEntryInGrid(tarPools, NPC_POOL_OF_TAR, 500.0f);
for (Creature* creature : tarPools)
creature->DespawnOrUnsummon();
instance->SetBossState(BOSS_LEVIATHAN, DONE);
instance->SetData(DATA_VEHICLE_SPAWN, VEHICLE_POS_NONE);