public void FastForwardTime(int secs) { this.m_cooldownTime = LogicMath.Max(this.m_cooldownTime - LogicTime.GetCooldownSecondsInTicks(secs), 0); }
public LogicCooldown(int targetGlobalId, int cooldownSecs) { this.m_targetGlobalId = targetGlobalId; this.m_cooldownTime = LogicTime.GetCooldownSecondsInTicks(cooldownSecs); }