v0.13.7

C_PetJournal.GetPetStats

functionguessedavailable in: camelot

Returns the stats of a collected battle pet.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
petIDstringGUID of pet in Pet Journal (different than speciesID and displayID)

Returns

#nametypedescription
1healthnumberCurrent health of the pet. Zero or negative if the pet is dead.
2maxHealthnumberMaximum health of the pet
3powernumber
4speednumber
5raritynumber1: "Poor", 2: "Common", 3: "Uncommon", 4: "Rare", 5: "Epic", 6: "Legendary"

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.