cache SpellSpecific and AuraState information instead of computing them each time they're needed
This commit is contained in:
@@ -1881,7 +1881,7 @@ namespace Game.Entities
|
||||
AddInterruptMask((uint)aurSpellInfo.AuraInterruptFlags);
|
||||
}
|
||||
|
||||
AuraStateType aState = aura.GetSpellInfo().GetAuraState(GetMap().GetDifficultyID());
|
||||
AuraStateType aState = aura.GetSpellInfo().GetAuraState();
|
||||
if (aState != 0)
|
||||
m_auraStateAuras.Add(aState, aurApp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user