Core/Auras: Allow passive auras from items to stack
(cherry picked from commit 8453d7dae25823dd5d2ecf2b718a469c0553214c)
This commit is contained in:
1 parent
557f714a10
commit
bba87cfeee
1 file changed
+1
-1
@@ -1566,7 +1566,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->IsRankOf(existingSpellInfo))
|
||||
if (IsPassive() && sameCaster && (m_spellInfo->IsDifferentRankOf(existingSpellInfo) || (m_spellInfo->Id == existingSpellInfo->Id && m_castItemGuid.IsEmpty())))
|
||||
return false;
|
||||
|
||||
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
||||
|
||||
Reference in new issue
Block a user