Core/Auras: Do not recheck aura positivity every aura effect apply/remove.
This commit is contained in:
@@ -3428,7 +3428,7 @@ bool Unit::_IsNoStackAuraDueToAura(Aura * appliedAura, Aura * existingAura) cons
|
||||
return true;
|
||||
}
|
||||
|
||||
void Unit::_HandleAuraEffect(AuraEffect * aurEff, bool apply)
|
||||
void Unit::_RegisterAuraEffect(AuraEffect * aurEff, bool apply)
|
||||
{
|
||||
if (apply)
|
||||
m_modAuras[aurEff->GetAuraType()].push_back(aurEff);
|
||||
|
||||
@@ -1610,7 +1610,7 @@ class Unit : public WorldObject
|
||||
void _RemoveNoStackAuraApplicationsDueToAura(Aura * aura);
|
||||
void _RemoveNoStackAurasDueToAura(Aura * aura);
|
||||
bool _IsNoStackAuraDueToAura(Aura * appliedAura, Aura * existingAura) const;
|
||||
void _HandleAuraEffect(AuraEffect * aurEff, bool apply);
|
||||
void _RegisterAuraEffect(AuraEffect * aurEff, bool apply);
|
||||
|
||||
// m_ownedAuras container management
|
||||
AuraMap & GetOwnedAuras() { return m_ownedAuras; }
|
||||
|
||||
Reference in New Issue
Block a user