Core/Auras: backout r2bf34fd7ac and add alternative - not spell specific sollution for the problem.

--HG--
branch : trunk
This commit is contained in:
QAston committed 2010-12-05 20:43:09 +01:00
1 parent 6fe19b5a86
commit 7db1b39224
4 files changed
+11 -13

No files matched your search

+3
View File
@@ -3157,6 +3157,9 @@ bool SpellMgr::CanAurasStack(SpellEntry const *spellInfo_1, SpellEntry const *sp
case SPELL_AURA_OBS_MOD_POWER:
case SPELL_AURA_OBS_MOD_HEALTH:
case SPELL_AURA_PERIODIC_TRIGGER_SPELL_WITH_VALUE:
// periodic auras which target areas are not allowed to stack this way (replenishment for example)
if (IsAreaOfEffectSpellEffect(spellInfo_1, i) || IsAreaOfEffectSpellEffect(spellInfo_2, i))
break;
return true;
default:
break;