API:GetActionCooldown

Get the max cooldown and remaining cooldown of an action button. If the global cooldown is activated while this method is called, total will return 1 and cooldown will return the remaining time in the global cooldown.

Arguments

 * slot
 * integer = the action slot number

Returns

 * total
 * integer = the total cooldown time of the skill, or 1 if on global cooldown
 * remaining
 * integer = the remaining cooldown, 0-1 if on global cooldown

Related Functions

 * GetActionUsable