Core/Auras: Prevent infinite stacking of passive auras with the same id from the same caster on the same target

Closes #18475

(cherry picked from commit 88676120586df7581677eca8d5e2724579c69482)
This commit is contained in:
Shauren authored and Aokromes committed 2017-02-10 05:25:16 +01:00
1 parent 042633b10e
commit fae31bf07d
1 file changed
+1 -1
+1 -1
View File
@@ -1583,7 +1583,7 @@ bool Aura::CanStackWith(Aura const* existingAura) const
bool sameCaster = GetCasterGUID() == existingAura->GetCasterGUID();
// passive auras don't stack with another rank of the spell cast by same caster
if (IsPassive() && sameCaster && m_spellInfo->IsDifferentRankOf(existingSpellInfo))
if (IsPassive() && sameCaster && m_spellInfo->IsRankOf(existingSpellInfo))
return false;
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)