diff options
Diffstat (limited to 'src/game/SpellAuras.h')
-rw-r--r-- | src/game/SpellAuras.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game/SpellAuras.h b/src/game/SpellAuras.h index 3632c7b2121..64a8d14079a 100644 --- a/src/game/SpellAuras.h +++ b/src/game/SpellAuras.h @@ -92,17 +92,14 @@ class TRINITY_DLL_SPEC Aura void SetNegative() { m_positive = false; } void SetPositive() { m_positive = true; } bool IsPermanent() const { return m_permanent; } - void RemoveAura(AuraRemoveMode mode = AURA_REMOVE_BY_DEFAULT) { m_permanent = false; m_duration=0; m_removeMode = mode; } bool IsPassive() const { return m_isPassive; } bool IsDeathPersistent() const { return m_isDeathPersist; } bool IsRemovedOnShapeLost() const { return m_isRemovedOnShapeLost; } bool IsUpdated() const { return m_updated; } + bool IsRemoved() const { return m_isRemoved; } void SetUpdated(bool val) { m_updated = val; } - bool IsInUse() const { return m_in_use; } - void SetInUse(bool val) { m_in_use = val; } - bool IsPersistent() const; bool IsAreaAura() const; bool IsAuraType(AuraType type) const; @@ -158,8 +155,8 @@ class TRINITY_DLL_SPEC Aura bool m_isPassive:1; bool m_positive:1; bool m_permanent:1; + bool m_isRemoved:1; bool m_updated:1; // Prevent remove aura by stack if set - bool m_in_use:1; bool m_isSingleTargetAura:1; // true if it's a single target spell and registered at caster - can change at spell steal for example }; class TRINITY_DLL_SPEC AuraEffect |