From 007420b615b1f4aa98238c2a3264d0e6eb458963 Mon Sep 17 00:00:00 2001 From: fallenangelX Date: Sun, 10 Jul 2011 03:11:54 -0400 Subject: [PATCH] [11997] Add spell support for 54092 Thanks to stfx for porting Signed-off-by: Schmoozerd --- src/game/SpellEffects.cpp | 9 +++++++++ src/shared/revision_nr.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 2db671877..bf1666c8c 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -2376,6 +2376,15 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) m_caster->CastSpell(m_caster, 54851, true); return; } + case 54092: // Monster Slayer's Kit + { + if (!unitTarget) + return; + + uint32 spellIds[] = {51853, 54063, 54071, 54086}; + m_caster->CastSpell(unitTarget, spellIds[urand(0, 3)], true); + return; + } case 55004: // Nitro Boosts { if (!m_CastItem) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 8d0c1d401..05e92c4bd 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 "11996" + #define REVISION_NR "11997" #endif // __REVISION_NR_H__