[11378] Add script effect of spell 26004

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
dpedroia15 2011-04-19 08:12:41 +02:00 committed by NoFantasy
parent 3c18e9fc1b
commit 849528ebad
2 changed files with 9 additions and 1 deletions

View file

@ -6292,6 +6292,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
unitTarget->CastSpell(unitTarget,spellid,false);
return;
}
case 26004: // Mistletoe
{
if (!unitTarget)
return;
unitTarget->HandleEmote(EMOTE_ONESHOT_CHEER);
return;
}
case 26218: // Mistletoe
{
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "11377"
#define REVISION_NR "11378"
#endif // __REVISION_NR_H__