From a57bc8018c39c74cdf9ae080d68729187d266640 Mon Sep 17 00:00:00 2001 From: Rat Date: Sun, 9 Aug 2009 17:21:30 +0200 Subject: *fix Leotheras the Blind Channeler reset(visual is still bugged) !please delete all Greyheart Spellbinders (21806) from the instance, they are still summoned by script! --HG-- branch : trunk --- .../serpent_shrine/boss_leotheras_the_blind.cpp | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp index 3b6316412a5..243cf223157 100644 --- a/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp +++ b/src/bindings/scripts/scripts/zone/coilfang_resevoir/serpent_shrine/boss_leotheras_the_blind.cpp @@ -210,14 +210,9 @@ struct TRINITY_DLL_DECL boss_leotheras_the_blindAI : public ScriptedAI for(uint8 i = 0; i < 3; i++) { Creature *add = Unit::GetCreature(*m_creature,SpellBinderGUID[i]); - if (add && add->isAlive()) - { - add->setDeathState(DEAD); - add->RemoveCorpse(); - }else{ - if(add && add->isDead()) - add->RemoveCorpse(); - } + if (add) + add->RemoveFromWorld(); + float nx = x; float ny = y; float o = 2.4f; -- cgit v1.2.3