Core/Spells: allow Aura::RefreshDuration and its spell script helper to roll over a remaining tick when specified
This commit is contained in:
1 parent
b7ed66ef0f
commit
84c6ea27a6
4 files changed
+26
-22
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user