diff options
author | QAston <none@none> | 2009-05-11 00:05:36 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-05-11 00:05:36 +0200 |
commit | 50bf49bd81beef68192478c861af28732f1fbdf2 (patch) | |
tree | 03e6b54ea65c399af7f7762363be340daef19f91 /src | |
parent | 55d52e22a8414b514b2c6d2bb5c3f8d4a2d2dbc5 (diff) |
Allow class specific periodic dummy and dummy auras to always stack
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SpellMgr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 945255f883a..a23f32d1a52 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 |