Advertisement

Cooldown:GetCooldownDuration()

Returns the duration of the cooldown currently displayed by the Cooldown widget.

duration = Cooldown:GetCooldownDuration()

Returns

duration 
Number - cooldown duration in milliseconds; 0 if the widget is not currently playing a cooldown animation.

Patch history

Mists-Logo-Small.png Patch 5.2.0 / API (2013-03-05): Added.

See also

Community content is available under CC BY-SA 3.0 unless otherwise noted.