Jump to content

[Patch][8196] Implementation of 59640


Guest Aligatro

Recommended Posts

Implements spell 59640

For Revision [8193]

Not sure.

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 8014220..d88ab9f 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -757,6 +757,22 @@ void Spell::EffectDummy(uint32 i)
                    m_caster->CastSpell(m_caster, spell_id, true, NULL);
                    return;
                }
+                case 59640:                                 // Underbelly Elixir
+                {
+                    if(m_caster->GetTypeId() != TYPEID_PLAYER)
+                        return;
+
+                    uint32 spell_id = 0;
+                    switch(urand(1, 3))
+                    {
+                        case 1: spell_id = 59645; break;
+                        case 2: spell_id = 59831; break;
+                        default:spell_id = 59843; break;
+                    }
+
+                    m_caster->CastSpell(m_caster, spell_id, true, NULL);
+                    return;
+                }
                case 17251:                                 // Spirit Healer Res
                {
                    if(!unitTarget || !m_originalCaster)  

Also, posted on http://mangos.ru/forum/showthread.php?t=20901

Link to comment
Share on other sites

×
×
  • 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