Показать сообщение отдельно
Старый 25.03.2013, 21:26   #1
NeatElves
YTDB Dev
 
Аватар для NeatElves
 
Регистрация: 06.03.2010
Сообщений: 259
Сказал(а) спасибо: 28
Поблагодарили 280 раз(а) в 136 сообщениях
NeatElves Как самоцвет среди гранитаNeatElves Как самоцвет среди гранитаNeatElves Как самоцвет среди гранита
По умолчанию [patch] Спелл 17009

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
)
NeatElves вне форума  
Пользователь сказал cпасибо:
schmoozerd (29.03.2013)