Jump to content

[9322][Fix] Drums of Forgotten Kings/Wild


Recommended Posts

Posted

Hello,

First of all, I really do have respect for everything you have created so far. It is fascinating.

Secondly, I am new to this materia, so if make some mistakes in posting this patch or anything else, please just tell me, I will correct me and remember it for the next time!

The Bug: The Items Drums of Forgotten Kings and Drums of the Wild do not give the desired buffs.

The buggy spells are: Spell 69378 (Blessing of Forgotten Kings) and 69381 (Gift of the Wild).

Revision: 9310

Link to Lighthouse bug post: https://mangos.lighthouseapp.com/projects/18208/tickets/423-drums-of-the-forgotten-kings-drums-of-the-wild

Author: Marik (forum), Marik23 (Githubaccount)

Email: bdk_marik [ a t ] web [ d o t ] de

Additional: The Bugfix is straight forward similar to the Fortitude Bugfix of Lightguard several days ago.

I Hope i made everything all right and perhaps i will Fix more things if my patch will be accepted sometime.

Marik

From 3878c3e59244f093ddadb3c438edf3d6a098da77 Mon Sep 17 00:00:00 2001
From: Marik23 <[email protected]>
Date: Fri, 5 Feb 2010 17:30:42 +0100
Subject: [PATCH] Fixed Spell 69378 (Blessing of Forgotten Kings) and 69381 (Gift of the Wild)

---
src/game/SpellEffects.cpp |   16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 50e231d..74bd23f 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -5280,6 +5280,22 @@ void Spell::EffectScriptEffect(uint32 effIndex)
                    m_caster->CastSpell(unitTarget, 72590, true);
                    return;
                }
+                case 69381: //Gift of the Wild
+                {    
+                    if(!unitTarget)
+                        return;
+                    
+                    m_caster->CastSpell(unitTarget, 72588, true);
+                    return;
+                }
+                case 69378: //Blessing of Forgotten Kings
+                {    
+                    if(!unitTarget)
+                        return;
+                    
+                    m_caster->CastSpell(unitTarget, 72586, true);
+                    return;
+                }
            }
            break;
        }
-- 
1.6.5.1.1367.gcd48

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