Jump to content

[patch] Vanquished Clutches of Yogg-Saron


Guest dpedroia15

Recommended Posts

What bug does the patch fix? What features does the patch add?

The patch adds the dummy effects for the spell of the trinket "Vanquished Clutches of Yogg Saron".

For which repository revision was the patch created?

10330

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

No

Who has been writing this patch? Please include either forum user names or email addresses.

Me, dpedroia15

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 5bd42e1..342b487 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -1759,6 +1759,18 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
                    m_caster->CastSpell(unitTarget,60934,true,NULL);
                    return;
                }
+                case 64981:                                 //Vanquished Clutches of Yogg-Saron
+                {
+                    uint32 spell_id = 0;
+                   switch(irand(1,3))
+                    {
+                        case 1: spell_id = 64982; break;
+                        case 2: spell_id = 64983; break;
+                        case 3: spell_id = 64984; break;
+                    }
+                    m_caster->CastSpell(m_caster,spell_id,true);
+                    return;
+                }
                case 67019:                                 // Flask of the North
                {
                    if (m_caster->GetTypeId() != TYPEID_PLAYER)

Link to comment
Share on other sites

  • 6 months 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