Jump to content

Fix Consume


Guest breakwater

Recommended Posts

For Mangos Rev: 11040

The Spell Consume need a Core Part

Attention! I have forked my git from rsa

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 3f33274..5667114 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -6735,6 +6735,11 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
                    unitTarget->CastSpell(unitTarget, spellId, true);
                    return;
                }
+                case 49380:                                 // Consume: Spell of Trollgore nonhero
+                {
+                    m_caster->CastSpell(m_caster,49381,true);
+                    return;
+                }
                case 50217:                                 // The Cleansing: Script Effect Player Cast Mirror Image
                {
                    // Summon Your Inner Turmoil
@@ -7092,7 +7097,13 @@ void Spell::EffectScriptEffect(SpellEffectIndex eff_idx)
                        unitTarget->CastSpell(unitTarget, 59314, true);

                    return;
-                }                                           // random spell learn instead placeholder
+                }
+                case 59803:                                 // Consume: Spell of Trollgore hero
+                {
+                    m_caster->CastSpell(m_caster,59805,true);
+                    return;
+                }                                           
+                // random spell learn instead placeholder
                case 60893:                                 // Northrend Alchemy Research
                case 61177:                                 // Northrend Inscription Research
                case 61288:                                 // Minor Inscription Research

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use