mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[11378] Add script effect of spell 26004
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
3c18e9fc1b
commit
849528ebad
2 changed files with 9 additions and 1 deletions
|
|
@ -6292,6 +6292,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
|
||||||
unitTarget->CastSpell(unitTarget,spellid,false);
|
unitTarget->CastSpell(unitTarget,spellid,false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
case 26004: // Mistletoe
|
||||||
|
{
|
||||||
|
if (!unitTarget)
|
||||||
|
return;
|
||||||
|
|
||||||
|
unitTarget->HandleEmote(EMOTE_ONESHOT_CHEER);
|
||||||
|
return;
|
||||||
|
}
|
||||||
case 26218: // Mistletoe
|
case 26218: // Mistletoe
|
||||||
{
|
{
|
||||||
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "11377"
|
#define REVISION_NR "11378"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue