From 1c1bc5c659b5a81eff51380cd4eaeee3bf7b2257 Mon Sep 17 00:00:00 2001 From: rsa Date: Thu, 10 May 2012 13:13:57 +0200 Subject: [PATCH] [11999] Implement spell 45204 Original author Wowka321, thx to stfx for porting Signed-off-by: stfx Signed-off-by: Schmoozerd --- src/game/SpellEffects.cpp | 8 ++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index aa365f4c4..50a7afb4e 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -6893,6 +6893,14 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx) unitTarget->RemoveAurasDueToSpell(46394); return; } + case 45204: // Clone Me! + { + if (!unitTarget) + return; + + unitTarget->CastSpell(m_caster, m_spellInfo->CalculateSimpleValue(eff_idx), true); + return; + } case 45206: // Copy Off-hand Weapon { if (m_caster->GetTypeId() != TYPEID_UNIT || !unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d0a9222ae..bb0d118be 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 "11998" + #define REVISION_NR "11999" #endif // __REVISION_NR_H__