From f9a76d99d4f965fd57e8c040c5f8a0fa2aa67477 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Sun, 17 Apr 2022 11:50:53 -0300 Subject: [PATCH] fix(Scripts/BlackwingLair): Prevent Nefarian's adds corpse from decaying (#11424) --- .../BlackrockMountain/BlackwingLair/boss_nefarian.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp index 7bf5d1e48..6f9143d9c 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/boss_nefarian.cpp @@ -958,7 +958,6 @@ struct npc_drakonid_spawner : public ScriptedAI ObjectGuid summonGuid = summon->GetGUID(); - summon->SetCorpseDelay(DAY * IN_MILLISECONDS); summon->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE); summon->SetHomePosition(summon->GetPosition()); @@ -976,6 +975,7 @@ struct npc_drakonid_spawner : public ScriptedAI construct->SetReactState(REACT_PASSIVE); construct->SetStandState(UNIT_STAND_STATE_DEAD); construct->SetUnitFlag(UNIT_FLAG_NOT_SELECTABLE); + construct->SetCorpseRemoveTime(DAY * IN_MILLISECONDS); construct->SetVisible(true); } });