From 3e3bac032969fe2458d142ed6119f89bec9b6dd1 Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Sat, 11 Dec 2010 12:36:06 +0100 Subject: [PATCH] [10858] Add triggered spell part for dummy effect of spell 43572 Signed-off-by: NoFantasy --- src/game/SpellEffects.cpp | 11 +++++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index b3081ea9c55..8e997adc384 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -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: diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index f4ebde977ee..78a2c6dd3c7 100644 --- a/src/shared/revision_nr.h +++ b/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__