diff options
author | tartalo <none@none> | 2009-12-01 11:43:57 +0100 |
---|---|---|
committer | tartalo <none@none> | 2009-12-01 11:43:57 +0100 |
commit | d7262a62986ccdf24fdf8a8f3702246adf359d3d (patch) | |
tree | bb2db8c29496b1aa0776807b52e5bc79c70886ad /src/game/SpellEffects.cpp | |
parent | b7934fc24505b42f03764a9dddbfe6ab1d1af2c3 (diff) |
Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index c44e0d8d9b2..6dc85f74677 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1338,6 +1338,13 @@ void Spell::EffectDummy(uint32 i) case 58418: // Portal to Orgrimmar case 58420: // Portal to Stormwind return; // implemented in EffectScript[0] + case 58601: + if (Player *plr = (Player*)unitTarget) + { + plr->RemoveAurasByType(SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED); + plr->RemoveAurasByType(SPELL_AURA_FLY); + } + break; case 59640: // Underbelly Elixir { if(m_caster->GetTypeId() != TYPEID_PLAYER) |