Cooldown Manager
object CooldownManager
Keeps ability cooldown end times in memory, separately for each player.
Functions
Link copied to clipboard
Removes all cooldowns for the player.
Link copied to clipboard
Removes one ability cooldown for the player.
Link copied to clipboard
Returns the player's active ability cooldowns and their remaining whole seconds.
Link copied to clipboard
Returns whole seconds left, or zero if there is no active cooldown.
Link copied to clipboard
Returns whether the player has time left on the cooldown.
Link copied to clipboard
Starts a cooldown for the player and ability ID.