Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns the cooldown associated with summoning a battle pet companion.

start, duration, isEnabled = C_PetJournal.GetPetCooldownByGUID(GUID)

Arguments[]

GUID
string - GUID of a battle pet in your collection to query the cooldown of.

Returns[]

start
number - the time the cooldown period began, based on GetTime().
duration
number - the duration of the cooldown period.
isEnabled
number - 1 if the cooldown is not paused.

Details[]

  • If the queried pet is not currently on a cooldown, this function will return 0, 0, 1.

Patch changes[]

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

Advertisement