Core/Spells: added a helper to reset proc cooldowns
Port From (https://github.com/TrinityCore/TrinityCore/commit/7084e0c3601cef86d01d2162c77623feef9fc8f2)
This commit is contained in:
@@ -1638,6 +1638,11 @@ namespace Game.Spells
|
||||
m_procCooldown = cooldownEnd;
|
||||
}
|
||||
|
||||
public void ResetProcCooldown()
|
||||
{
|
||||
m_procCooldown = DateTime.Now;
|
||||
}
|
||||
|
||||
public void PrepareProcToTrigger(AuraApplication aurApp, ProcEventInfo eventInfo, DateTime now)
|
||||
{
|
||||
bool prepare = CallScriptPrepareProcHandlers(aurApp, eventInfo);
|
||||
|
||||
Reference in New Issue
Block a user