Core/Spells: Implemented SPELL_ATTR5_AURA_UNIQUE_PER_CASTER
Port From (https://github.com/TrinityCore/TrinityCore/commit/91ca5527d64ac0bbcb22b2c03db480b7860e6bab)
This commit is contained in:
@@ -956,7 +956,7 @@ namespace Game.Spells
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool refresh = stackAmount >= GetStackAmount() && (m_spellInfo.StackAmount != 0 || !m_spellInfo.HasAttribute(SpellAttr1.AuraUnique));
|
bool refresh = stackAmount >= GetStackAmount() && (m_spellInfo.StackAmount != 0 || (!m_spellInfo.HasAttribute(SpellAttr1.AuraUnique) && !m_spellInfo.HasAttribute(SpellAttr5.AuraUniquePerCaster)));
|
||||||
|
|
||||||
// Update stack amount
|
// Update stack amount
|
||||||
SetStackAmount((byte)stackAmount);
|
SetStackAmount((byte)stackAmount);
|
||||||
|
|||||||
Reference in New Issue
Block a user