Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about a battle pet ability.
name, icon, type = C_PetJournal.GetPetAbilityInfo(abilityID)
Arguments[]
- abilityID
- number - battle pet ability ID, as returned by C_PetJournal.GetPetAbilityList, e.g. 362 for [Howl].
Returns[]
- name
- string - Ability name, e.g. "Howl"
- icon
- string - Ability icon texture path, e.g. "INTERFACE\ICONS\ABILITY_SHAMAN_FREEDOMWOLF.BLP"
- type
- battlePetTypeID
ID | English Name† |
---|---|
Humanoid | |
Dragonkin | |
Flying | |
Undead | |
Critter | |
Magic | |
Elemental | |
Beast | |
Aquatic | |
Mechanical |
Patch changes[]
Patch 5.0.4 (2012-08-28): Added.