Core/Auras: Only auras that are stackable to use the same slot

This commit is contained in:
Shauren committed 2013-02-16 15:40:47 +01:00
1 parent b7b7f964a3
commit 1845ab7918
3 files changed
+8 -1

No files matched your search

+1 -1
View File
@@ -3149,7 +3149,7 @@ Aura* Unit::_TryStackingOrRefreshingExistingAura(SpellInfo const* newAura, uint8
ASSERT(casterGUID || caster);
// Check if these can stack anyway
if (!casterGUID && (newAura->IsChanneled() || newAura->AttributesEx3 & SPELL_ATTR3_STACK_FOR_DIFF_CASTERS))
if (!casterGUID && !newAura->IsStackableOnOneSlotWithDifferentCasters())
casterGUID = caster->GetGUID();
// passive and Incanter's Absorption and auras with different type can stack with themselves any number of times