WoW API < GetPetActionCooldown

Returns cooldown information for the pet action in the specified pet action bar slot.

startTime, duration, enable = GetPetActionCooldown(index);

Parameters[edit | edit source]

Arguments[edit | edit source]

Number - The index of the pet action button you want to query for cooldown info.

Returns[edit | edit source]

Number - The time when the cooldown started (as returned by GetTime()) or zero if no cooldown
Number - The number of seconds the cooldown will last, or zero if no cooldown
Boolean - 0 if no cooldown, 1 if cooldown is in effect (probably)
Community content is available under CC-BY-SA unless otherwise noted.