From ca677544efacc3e5f51568ba9d7b3c146f3e92ca Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 3 Oct 2022 20:56:36 +0200 Subject: [PATCH] Scripts/Grim Batol: use a direct DespawnOrUnsummon call instead of corpse delay for Drahga's Invoked Flaming Spirits --- .../EasternKingdoms/GrimBatol/boss_drahga_shadowburner.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/server/scripts/EasternKingdoms/GrimBatol/boss_drahga_shadowburner.cpp b/src/server/scripts/EasternKingdoms/GrimBatol/boss_drahga_shadowburner.cpp index 05b1de1399..104d9aa4c4 100644 --- a/src/server/scripts/EasternKingdoms/GrimBatol/boss_drahga_shadowburner.cpp +++ b/src/server/scripts/EasternKingdoms/GrimBatol/boss_drahga_shadowburner.cpp @@ -448,7 +448,6 @@ struct npc_drahga_invoked_flaming_spirit : public ScriptedAI { npc_drahga_invoked_flaming_spirit(Creature* creature) : ScriptedAI(creature) { - me->SetCorpseDelay(3); me->SetReactState(REACT_PASSIVE); me->SetWalk(true); } @@ -465,6 +464,11 @@ struct npc_drahga_invoked_flaming_spirit : public ScriptedAI DoCastSelf(SPELL_QUIETE_SUICIDE); } + void JustDied(Unit* /*killer*/) override + { + me->DespawnOrUnsummon(3s); + } + void UpdateAI(uint32 diff) override { if (!UpdateVictim())