fix(Core/Spells): passive auras should not stak with itself (#8652)
- Closes #8588
This commit is contained in:
parent
6ab6ab0f11
commit
b0d4f1917e
1 changed files with 1 additions and 1 deletions
|
|
@ -1918,7 +1918,7 @@ bool Aura::CanStackWith(Aura const* existingAura, bool remove) const
|
|||
}
|
||||
|
||||
// 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->IsDifferentRankOf(existingSpellInfo) || (m_spellInfo->Id == existingSpellInfo->Id && m_castItemGuid.IsEmpty())))
|
||||
return false;
|
||||
|
||||
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue