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

+2 -2
View File
@@ -699,9 +699,9 @@ void AuraScript::SetDuration(int32 duration, bool withMods)
m_aura->SetDuration(duration, withMods);
}
void AuraScript::RefreshDuration()
void AuraScript::RefreshDuration(bool resetPeriodicTimer /*= true*/)
{
m_aura->RefreshDuration();
m_aura->RefreshDuration(resetPeriodicTimer);
}
time_t AuraScript::GetApplyTime() const