From d7262a62986ccdf24fdf8a8f3702246adf359d3d Mon Sep 17 00:00:00 2001 From: tartalo Date: Tue, 1 Dec 2009 11:43:57 +0100 Subject: Implement No Fly Zone using Spell, by Spp. Needs db support. Closes #494 --HG-- branch : trunk --- src/game/SpellEffects.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/game/SpellEffects.cpp') 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) -- cgit v1.2.3