Skip to content

Commit

Permalink
[10858] Add triggered spell part for dummy effect of spell 43572
Browse files Browse the repository at this point in the history
Signed-off-by: NoFantasy <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed Dec 11, 2010
1 parent 7a674eb commit 3e3bac0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions src/game/SpellEffects.cpp
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10857"
#define REVISION_NR "10858"
#endif // __REVISION_NR_H__

0 comments on commit 3e3bac0

Please sign in to comment.