Jump to content

[9813][FIX] Moonfire & Lacerate Debuff


Auntie Mangos

Recommended Posts

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

fixes Moonfire & Lacerate Debuff stack

For which repository revision was the patch created?

[9814]

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

http://getmangos.eu/community/showthread.php?7656-%5BBug%5D-Moonfire-Lacerate-Debuff-overwrite&highlight=lacerate

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

Me

Code diff:

 @@ -1590,6 +1609,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
        case SPELLFAMILY_DRUID:
            if( spellInfo_2->SpellFamilyName == SPELLFAMILY_DRUID )
            {
+                //Lacerate and Moonfire
+                 if (spellInfo_1->SpellIconID == 225 && spellInfo_2->SpellIconID == 2246 ||
+                     spellInfo_2->SpellIconID == 225 && spellInfo_1->SpellIconID == 2246 )
+                    return false;
+
                //Omen of Clarity and Blood Frenzy
                if( (spellInfo_1->SpellFamilyFlags == UI64LIT(0x0) && spellInfo_1->SpellIconID == 108) && (spellInfo_2->SpellFamilyFlags & UI64LIT(0x20000000000000)) ||
                    (spellInfo_2->SpellFamilyFlags == UI64LIT(0x0) && spellInfo_2->SpellIconID == 108) && (spellInfo_1->SpellFamilyFlags & UI64LIT(0x20000000000000)) )

Link to comment
Share on other sites

  • 40 years later...
Guest
This topic is now closed to further replies.
×
×
  • 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