API:GetActionCooldown

__NOTOC__
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.
GetActionCooldown(slot)
== Parameter ==
=== 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
== Example ==
local cooldown, remaining = GetActionCooldown(1)
== Related Functions ==
* GetActionUsable
Category:Functions