Jump to content

[Patch]Blood Corruption, Holy Vengeance, Righteous Vengeance


Guest breakwater

Recommended Posts

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

Remove the overwrite of Blood Corruption, Holy Vengeance and Righteous Vengeance

For which repository revision was the patch created?

10471

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

I don't know.

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

me

Code:

diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 4f8441a..9fca6c2 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2066,7 +2095,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
                // Paladin Seals
                if (IsSealSpell(spellInfo_1) && IsSealSpell(spellInfo_2))
                    return true;
-
+                //Blood Corruption, Holy Vengeance, Righteous Vengeance
+                if ((spellInfo_1->SpellIconID == 2292 && spellInfo_2->SpellIconID == 3025) ||
+                    (spellInfo_2->SpellIconID == 2292 && spellInfo_1->SpellIconID == 3025))
+                    return false;
                // Swift Retribution / Improved Devotion Aura (talents) and Paladin Auras
                if ((spellInfo_1->SpellFamilyFlags2 & 0x00000020) && (spellInfo_2->SpellIconID == 291 || spellInfo_2->SpellIconID == 3028) ||
                    (spellInfo_2->SpellFamilyFlags2 & 0x00000020) && (spellInfo_1->SpellIconID == 291 || spellInfo_1->SpellIconID == 3028))

Link to comment
Share on other sites

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