Cooldown:GetCooldownDuration

From Warcraft Wiki
Jump to navigation Jump to search

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

duration = Cooldown:GetCooldownDuration()

Returns

duration
number - The returned duration unit is milliseconds and is multiplied by the modRate. Returns 0 if the widget is not currently playing a cooldown animation.

Patch history

Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.