http://ru.wowhead.com/spell=17009
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
Код:
index 8065dd1..a2a047d 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -933,6 +933,26 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
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(1, 7))
+ {
+ case 1: spell_id = 16707; break; // Hex
+ case 2: spell_id = 16708; break; // Hex
+ case 3: spell_id = 16709; break; // Hex
+ case 4: spell_id = 16711; break; // Grow
+ case 5: spell_id = 16712; break; // Special Brew
+ case 6: spell_id = 16713; break; // Ghostly
+ case 7: spell_id = 16716; break; // Launch
+ }
+
+ unitTarget->CastSpell(unitTarget, spell_id, true, NULL);
+ return;
+ }
case 17251: // Spirit Healer Res
{
if (!unitTarget
)