[8377] Resolve some spell_area problems in GM and non-GM mode.

* Make spell 40216 and 42016 casted/remove at aura 40214 apply/remove.
  And drop related spell_area possible existed data.
* In general restore apply area limitations to spell casting in GM mode.
This commit is contained in:
VladimirMangos 2009-08-17 00:37:31 +04:00
parent e7b63e759f
commit c26c7395a1
6 changed files with 22 additions and 6 deletions

View file

@ -2313,6 +2313,21 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
}
return;
}
//Dragonmaw Illusion
case 40214 :
{
if(apply)
{
m_target->CastSpell(m_target, 40216, true);
m_target->CastSpell(m_target, 42016, true);
}
else
{
m_target->RemoveAurasDueToSpell(40216);
m_target->RemoveAurasDueToSpell(42016);
}
return;
}
// LK Intro VO (1)
case 58204:
if(m_target->GetTypeId() == TYPEID_PLAYER)