Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

API C_PetJournal.GetPetAbilityList

From Wowpedia
Jump to: navigation, search

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

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

Arguments

speciesID 
Number - Battle pet species ID to query the abilities of.
idTable 
Optional Table - Table that will be used to return ability ID information; a new table will be created if this argument is omitted.
levelTable 
Optional 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 
Table - An array of ability IDs available to the battle pet species.
levelTable 
Table - An array of levels at which the corresponding ability in the idTable becomes available to the species.

Patch history

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

See also