Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

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 Peticon-beast Ability shaman freedomwolf [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 NameEnglish: _G["PET_TYPE_SUFFIX"][id]
Localized: _G["BATTLE_PET_NAME_"..id]
1
Humanoid
2
Dragonkin
3
Flying
4
Undead
5
Critter
6
Magic
7
Elemental
8
Beast
9
Aquatic
10
Mechanical


Patch changes[]

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also[]

Advertisement