diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 559adbd66..3066f2380 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -958,6 +958,26 @@ void Spell::EffectDummy(SpellEffectEntry const* effect) m_caster->CastSpell(m_caster, spell_id, true, NULL); return; } + case 17009: // Voodoo + { + if (!unitTarget || unitTarget->GetTypeId() != TYPEID_PLAYER) + return; + + uint32 spell_id = 0; + switch (urand(0, 6)) + { + case 0: spell_id = 16707; break; // Hex + case 1: spell_id = 16708; break; // Hex + case 2: spell_id = 16709; break; // Hex + case 3: spell_id = 16711; break; // Grow + case 4: spell_id = 16712; break; // Special Brew + case 5: spell_id = 16713; break; // Ghostly + case 6: spell_id = 16716; break; // Launch + } + + m_caster->CastSpell(unitTarget, spell_id, true, NULL, NULL, m_originalCasterGUID, m_spellInfo); + return; + } case 17251: // Spirit Healer Res { if (!unitTarget) @@ -978,7 +998,7 @@ void Spell::EffectDummy(SpellEffectEntry const* effect) if (!itemTarget && m_caster->GetTypeId() != TYPEID_PLAYER) return; - uint32 spell_id = roll_chance_i(50) + uint32 spell_id = urand(0, 1) ? 17269 // Create Resonating Skull : 17270; // Create Bone Dust diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 19fbeae16..2b517d503 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 "12584" + #define REVISION_NR "12585" #endif // __REVISION_NR_H__