Core/Spells: allow Aura::RefreshDuration and its spell script helper to roll over a remaining tick when specified

This commit is contained in:
Ovahlord committed 2023-02-20 18:15:47 +01:00
1 parent b7ed66ef0f
commit 84c6ea27a6
4 files changed
+26 -22

No files matched your search

+1 -1
View File
@@ -1059,7 +1059,7 @@ class TC_GAME_API AuraScript : public _SpellScript
int32 GetDuration() const;
void SetDuration(int32 duration, bool withMods = false);
// sets duration to maxduration
void RefreshDuration();
void RefreshDuration(bool resetPeriodicTimer = true);
time_t GetApplyTime() const;
int32 GetMaxDuration() const;
void SetMaxDuration(int32 duration);