API Cooldown GetCooldownDuration

From Wowpedia
Jump to: navigation, search

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 of Pandaria Patch 5.2.0 (2013-03-05): Added.


See also