Open main menu

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

  Patch 5.0.4 (2012-08-28): Added.


See also