C_PetJournal.GetPetAbilityList

From Warcraft Wiki
Jump to navigation Jump to search
Flavors
Links
Info
Added in 5.0.4

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

idTable, levelTable = C_PetJournal.GetPetAbilityList(speciesID [, idTable, levelTable])

Arguments

speciesID
number : BattlePetSpeciesID - Battle pet species ID to query the abilities of.
idTable
table? - Table that will be used to return ability ID information; a new table will be created if this argument is omitted.
levelTable
table?- Table that will be used to return ability level requirement information; a new table will be created if this argument is omitted.

Returns

idTable
number[] - An array of ability IDs available to the battle pet species.
levelTable
number[] - An array of levels at which the corresponding ability in the idTable becomes available to the species.

Patch changes

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also