aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authorQAston <none@none>2009-06-28 15:13:56 +0200
committerQAston <none@none>2009-06-28 15:13:56 +0200
commitd529ab76c5a414c115a8a6605fde9b43a19db18a (patch)
tree148001ad262a614969bf871eae2ebf4b56478e9b /src/game/SpellAuras.cpp
parent26dfd9df17a032820df269b41f94e092ea3dbbe1 (diff)
*Do not allow periodic aoe auras to stack.
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index a43d748849b..f7fa9c18287 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -7388,7 +7388,8 @@ void AuraEffect::HandleReflectSpells( bool Apply, bool Real , bool /*changeAmoun
// implemented in Unit::SpellHitResult
// only special case
- if(!Apply && Real && m_spellProto->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellProto->SpellFamilyFlags[1] & 0x2)
+ if(!Apply && Real && GetParentAura()->GetRemoveMode() != AURA_REMOVE_BY_DEFAULT
+ && m_spellProto->SpellFamilyName == SPELLFAMILY_WARRIOR && m_spellProto->SpellFamilyFlags[1] & 0x2)
{
if (Unit * caster = GetCaster())
{