Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API GetPetActionCooldown

Last wiki revision 2022-07-22

Returns cooldown info for an action on the pet action bar. startTime, duration, enable = GetPetActionCooldown(index)

  • index: - The index of the pet action button you want to query for cooldown info.
  • startTime: - The time when the cooldown started (as returned by GetTime) or zero if no cooldown
  • duration: - The number of seconds the cooldown will last, or zero if no cooldown
  • enable: - 0 if no cooldown, 1 if cooldown is in effect (probably)

Source

https://warcraft.wiki.gg/wiki/API_GetPetActionCooldown · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.