[10858] Add triggered spell part for dummy effect of spell 43572

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2010-12-11 12:36:06 +01:00
parent a2e74f182f
commit 0c20c0f9f7
2 changed files with 12 additions and 1 deletions

View file

@ -1208,6 +1208,17 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
m_caster->CastSpell(m_caster, 43072, true);
return;
}
case 43572: // Send Them Packing: On /Raise Emote Dummy to Player
{
if (!unitTarget)
return;
// m_caster (creature) should start walking back to it's "home" here, no clear way how to do that
// Send Them Packing: On Successful Dummy Spell Kill Credit
m_caster->CastSpell(unitTarget, 42721, true);
return;
}
// Demon Broiled Surprise
/* FIX ME: Required for correct work implementing implicit target 7 (in pair (22,7))
case 43723:

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10857"
#define REVISION_NR "10858"
#endif // __REVISION_NR_H__