From dad016b0fa691a4bc7078b42b1c6c84f4f6955ea Mon Sep 17 00:00:00 2001 From: Lightguard Date: Mon, 9 Mar 2009 23:30:24 +0300 Subject: [PATCH] [7431] Fix the gnome racial spell Signed-off-by: DiSlord --- src/game/SpellEffects.cpp | 11 +++++++++-- src/shared/revision_nr.h | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index eaae76043..431713024 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4768,7 +4768,7 @@ void Spell::EffectScriptEffect(uint32 effIndex) unitTarget->CastSpell(unitTarget, 25863, false); else unitTarget->CastSpell(unitTarget, 26655, false); - break; + return; } // Piccolo of the Flaming Fire case 17512: @@ -4776,7 +4776,14 @@ void Spell::EffectScriptEffect(uint32 effIndex) if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) return; unitTarget->HandleEmoteCommand(EMOTE_STATE_DANCE); - break; + return; + } + // Escape artist + case 20589: + { + m_caster->RemoveSpellsCausingAura(SPELL_AURA_MOD_ROOT); + m_caster->RemoveSpellsCausingAura(SPELL_AURA_MOD_DECREASE_SPEED); + return; } // Mirren's Drinking Hat case 29830: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 119926096..3c7f5d4a6 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7430" + #define REVISION_NR "7431" #endif // __REVISION_NR_H__ -- 2.11.4.GIT