Jump to content

[FIX]64401 Glow Worm


Recommended Posts

Posted

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

http://www.wowhead.com/spell=64401 has 1 hour duration, but in mangos it has only 10 min.

For which repository revision was the patch created?

10091

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

Ru-mangos http://ru-mangos.ru/showthread.php?t=1543

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

RxCompiLe

diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp
index 5473163..4980148 100644
--- a/src/game/SpellEffects.cpp
+++ b/src/game/SpellEffects.cpp
@@ -4698,7 +4698,7 @@ void Spell::EffectEnchantItemTmp(SpellEffectIndex eff_idx)
    else if(m_spellInfo->SpellVisual[0] == 215)
        duration = 1800;                                    // 30 mins
    // some fishing pole bonuses
-    else if(m_spellInfo->SpellVisual[0] == 563)
+    else if(m_spellInfo->SpellVisual[0] == 563 && m_spellInfo->Id != 64401)
        duration = 600;                                     // 10 mins
    // shaman rockbiter enchantments
    else if(m_spellInfo->SpellVisual[0] == 0)

Patch

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