Core/Auras:

Make Aura::ModStackAmount(1) an equivalent of reapplying the aura
    Recalculate periodic aura timers on aura reapply.
This commit is contained in:
QAston
2011-06-11 10:55:17 +02:00
parent 23d43c72b2
commit 3ec587e21e
6 changed files with 43 additions and 23 deletions
@@ -127,6 +127,7 @@ class Aura
int32 GetDuration() const { return m_duration; }
void SetDuration(int32 duration, bool withMods = false);
void RefreshDuration();
void RefreshTimers();
bool IsExpired() const { return !GetDuration();}
bool IsPermanent() const { return GetMaxDuration() == -1; }