[10832] Spawn pool at aura 63471 dispel in water.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
patman128 2010-12-07 05:45:52 +03:00 committed by VladimirMangos
parent 4ad58ecb49
commit 031f2b00f1
2 changed files with 12 additions and 2 deletions

View file

@ -4619,9 +4619,19 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool /*Real*/)
target->CastSpell(target, 32612, true, NULL, this);
return;
case 42783: //Wrath of the Astrom...
case 42783: // Wrath of the Astrom...
if (m_removeMode == AURA_REMOVE_BY_EXPIRE && GetEffIndex() + 1 < MAX_EFFECT_INDEX)
target->CastSpell(target, GetSpellProto()->CalculateSimpleValue(SpellEffectIndex(GetEffIndex()+1)), true);
return;
case 46221: // Animal Blood
if (target->GetTypeId() == TYPEID_PLAYER && m_removeMode == AURA_REMOVE_BY_DEFAULT && target->IsInWater())
{
float position_z = target->GetTerrain()->GetWaterLevel(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ());
// Spawn Blood Pool
target->CastSpell(target->GetPositionX(), target->GetPositionY(), position_z, 63471, true);
}
return;
case 51912: // Ultra-Advanced Proto-Typical Shortening Blaster
if (m_removeMode == AURA_REMOVE_BY_EXPIRE)