C_PetJournal .GetPetAbilityInfo
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
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.