From 50bf49bd81beef68192478c861af28732f1fbdf2 Mon Sep 17 00:00:00 2001 From: QAston Date: Mon, 11 May 2009 00:05:36 +0200 Subject: [PATCH] Allow class specific periodic dummy and dummy auras to always stack --HG-- branch : trunk --- src/game/SpellMgr.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 945255f883..a23f32d1a5 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -1472,6 +1472,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2, bool //if spells have exactly the same effect they cannot stack for(uint32 i = 0; i < 3; ++i) if(spellInfo_1->Effect[i] != spellInfo_2->Effect[i] + // Overkill and master of subtlety need this + || spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_DUMMY + || spellInfo_1->EffectApplyAuraName[i] == SPELL_AURA_PERIODIC_DUMMY + || spellInfo_1->EffectApplyAuraName[i] != spellInfo_2->EffectApplyAuraName[i] || spellInfo_1->EffectMiscValue[i] != spellInfo_2->EffectMiscValue[i]) // paladin resist aura return false; // need itemtype check? need an example to add that check