*Fix Demonic Empowerment.

*Some code optimisations.
*Set formalCasterGuid for area auras correctly.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-05-19 18:33:49 +02:00
parent 2a2eff190c
commit 2b47f0c0f7
6 changed files with 93 additions and 39 deletions
-13
View File
@@ -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;