v0.13.7

C_PetBattles.GetStateValue

functionguessedavailable in: camelot

Returns the value of a specific state for a specific pet in a pet battle.

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

Parameters

nametypedescription
petOwnernumberAccepted values are actually 0 through 2, unlike all (?) other Pet Battle functions.
petIndexnumberAccepted values are actually 0 through 3, unlike all (?) other Pet Battle functions.
stateIDnumberThe ID of a Pet Battle's specific State.

Returns

stateValue · number · The value of the given state for the given pet.

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 ↗.