C_PetJournal .GetPetAbilityList
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
Patch 5.0.4 (2012-08-28): Added.
See also
- C_PetBattles.GetAbilityInfoByID - Get information about a pet ability when you already know its abilityID
- C_PetJournal.GetPetAbilityInfo - Get information about a pet ability when you only know the pet and slot
- Pet Battle Functions