From 9f08095c26dff0167f26316b8585e1dbd7efd9cd Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sat, 17 Jan 2009 17:18:03 +0300 Subject: [PATCH] Allow stack passive and not passive auras in all cases Signed-off-by: DiSlord --- src/game/SpellMgr.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 1f511afd7..cf0cbd65a 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1062,6 +1062,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons if((spellInfo_1->Id == SPELL_ID_PASSIVE_RESURRECTION_SICKNESS) != (spellInfo_2->Id==SPELL_ID_PASSIVE_RESURRECTION_SICKNESS)) return false; + // Allow stack passive and not passive spells + if ((spellInfo_1->Attributes & SPELL_ATTR_PASSIVE)!=(spellInfo_2->Attributes & SPELL_ATTR_PASSIVE)) + return false; + // Specific spell family spells switch(spellInfo_1->SpellFamilyName) {