*Do not update object visibility immediately when object is added to map.
--HG-- branch : trunk
This commit is contained in:
@@ -65,8 +65,8 @@ class TRINITY_DLL_SPEC Aura
|
||||
void SetAuraMaxDuration(int32 duration) { m_maxduration = duration; }
|
||||
int32 GetAuraDuration() const { return m_duration; }
|
||||
void SetAuraDuration(int32 duration);
|
||||
void RefreshAura(){ SetAuraDuration (m_maxduration); }
|
||||
inline bool IsExpired() { if(!GetAuraDuration() && !(IsPermanent() || (IsPassive()))) return true; return false;};
|
||||
void RefreshAura() { SetAuraDuration(m_maxduration); }
|
||||
bool IsExpired() const { return !GetAuraDuration() && !(IsPermanent() || IsPassive()); }
|
||||
|
||||
void SendAuraUpdate();
|
||||
uint8 GetAuraSlot() const { return m_auraSlot; }
|
||||
|
||||
Reference in New Issue
Block a user