*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
This commit is contained in:
Rat
2009-08-09 17:21:30 +02:00
parent fba08ab4a8
commit a57bc8018c
@@ -210,14 +210,9 @@ struct TRINITY_DLL_DECL boss_leotheras_the_blindAI : public ScriptedAI
for(uint8 i = 0; i < 3; i++) for(uint8 i = 0; i < 3; i++)
{ {
Creature *add = Unit::GetCreature(*m_creature,SpellBinderGUID[i]); Creature *add = Unit::GetCreature(*m_creature,SpellBinderGUID[i]);
if (add && add->isAlive()) if (add)
{ add->RemoveFromWorld();
add->setDeathState(DEAD);
add->RemoveCorpse();
}else{
if(add && add->isDead())
add->RemoveCorpse();
}
float nx = x; float nx = x;
float ny = y; float ny = y;
float o = 2.4f; float o = 2.4f;