v0.13.8

C_PetJournal.GetPetAbilityList

functionguessedavailable in: camelot

Returns pet battle abilities available to a particular battle pet species.

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

Parameters

nametypedescription
speciesIDnumberBattlePetSpeciesID - Battle pet species ID to query the abilities of.
idTabletable?Table that will be used to return ability ID information; a new table will be created if this argument is omitted.
levelTabletable?Table that will be used to return ability level requirement information; a new table will be created if this argument is omitted.

Returns

#nametypedescription
1idTablenumber[]An array of ability IDs available to the battle pet species.
2levelTablenumber[]An array of levels at which the corresponding ability in the idTable becomes available to the species.

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