v0.13.8

C_PetBattles.GetAbilityInfoByID

functionguessedavailable in: camelot

Returns very detailed information about a specific ability.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Parameters

nametypedescription
idnumberID of the ability.

Returns

#nametypedescription
1idnumberThe ID of the ability returned back.
2namestringThe name of the ability.
3iconstringThe full path to the ability's icon.
4maxCooldownnumberThe normal cooldown period for the ability.
5unparsedDescriptionstringThe ability's description in its pure and unparsed form.
6numTurnsnumberDuration of the ability. This is typically 1, but some abilities last multiple rounds.
7petTypenumberReturned values are 1-10, based on the
8noStrongWeakHintsbooleanTrue if the ability should not show Strong/Weak indicators, false otherwise.

In wowlua's emulated client

guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.