fix(Core/Spells) Add Explosive Shot exception (#16854)

* gitpain

* Update SpellAuras.cpp
This commit is contained in:
v-mstrs
2023-08-01 19:11:22 +02:00
committed by GitHub
parent ffbd59c2c5
commit aaabca1cd0

View File

@@ -2187,7 +2187,7 @@ bool Aura::CanStackWith(Aura const* existingAura, bool remove) const
}
// spell of same spell rank chain
if (m_spellInfo->IsRankOf(existingSpellInfo))
if (m_spellInfo->IsRankOf(existingSpellInfo) && !(m_spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER && m_spellInfo->SpellFamilyFlags[1] & 0x80000000))
{
// don't allow passive area auras to stack
if (m_spellInfo->IsMultiSlotAura() && !IsArea())