Jump to content

Renew stack with Gift of the Naaru


Recommended Posts

Posted

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

It allows Priest spell Renew to stack with Priest's version of Gift of the Naaru.

For which repository revision was the patch created?

9183

diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 74cc8f1..a791b7c 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -1559,6 +1559,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
                if ((spellInfo_1->Id == 47585 && spellInfo_2->Id == 60069) ||
                    (spellInfo_2->Id == 47585 && spellInfo_1->Id == 60069))
                    return false;
+                // Renew and Gift of the Naaru
+                if ((spellInfo_1->SpellFamilyFlags & UI64LIT(0x40) && spellInfo_2->SpellIconID == 329) ||
+                    (spellInfo_2->SpellFamilyFlags & UI64LIT(0x40) && spellInfo_1->SpellIconID == 329))
+                    return false;
            }
            break;
        case SPELLFAMILY_DRUID:

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