mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 22:37:02 +00:00
[10832] Spawn pool at aura 63471 dispel in water.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
4ad58ecb49
commit
031f2b00f1
2 changed files with 12 additions and 2 deletions
|
|
@ -4622,6 +4622,16 @@ void Aura::HandlePeriodicTriggerSpell(bool apply, bool /*Real*/)
|
|||
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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "10831"
|
||||
#define REVISION_NR "10832"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue