Wowpedia
Advertisement
Wowpedia
240,451
pages
Game Flavors
Links
Patch
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 - 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 / API (2012-08-28): Added.

See also

Advertisement