[7431] Fix the gnome racial spell

Signed-off-by: DiSlord <DiSlord@nomail.ru>
This commit is contained in:
Lightguard 2009-03-09 23:30:24 +03:00 committed by DiSlord
parent 2240fc49aa
commit 82e0e0b027
2 changed files with 10 additions and 3 deletions

View file

@ -4768,7 +4768,7 @@ void Spell::EffectScriptEffect(uint32 effIndex)
unitTarget->CastSpell(unitTarget, 25863, false); unitTarget->CastSpell(unitTarget, 25863, false);
else else
unitTarget->CastSpell(unitTarget, 26655, false); unitTarget->CastSpell(unitTarget, 26655, false);
break; return;
} }
// Piccolo of the Flaming Fire // Piccolo of the Flaming Fire
case 17512: case 17512:
@ -4776,7 +4776,14 @@ void Spell::EffectScriptEffect(uint32 effIndex)
if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) if(!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
return; return;
unitTarget->HandleEmoteCommand(EMOTE_STATE_DANCE); 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 // Mirren's Drinking Hat
case 29830: case 29830:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7430" #define REVISION_NR "7431"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__