*Fix Demonic Empowerment.
*Some code optimisations. *Set formalCasterGuid for area auras correctly. --HG-- branch : trunk
This commit is contained in:
@@ -107,18 +107,6 @@ class TRINITY_DLL_SPEC Aura
|
||||
bool IsRemoved() const { return m_isRemoved; }
|
||||
void SetUpdated(bool val) { m_updated = val; }
|
||||
|
||||
bool CanProc() const { return !m_procDeep; }
|
||||
void SetCantProc(bool apply)
|
||||
{
|
||||
if(apply)
|
||||
++m_procDeep;
|
||||
else
|
||||
{
|
||||
assert(m_procDeep);
|
||||
--m_procDeep;
|
||||
}
|
||||
}
|
||||
|
||||
bool IsPersistent() const;
|
||||
bool IsAreaAura() const;
|
||||
bool IsAuraType(AuraType type) const;
|
||||
@@ -169,7 +157,6 @@ class TRINITY_DLL_SPEC Aura
|
||||
AuraEffect * m_partAuras[3];
|
||||
|
||||
uint32 m_procDamage; // used in aura proc code
|
||||
int32 m_procDeep;
|
||||
|
||||
bool m_isDeathPersist:1;
|
||||
bool m_isRemovedOnShapeLost:1;
|
||||
|
||||
Reference in New Issue
Block a user