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
| name | type | description |
|---|---|---|
id | number | ID of the ability. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | id | number | The ID of the ability returned back. |
| 2 | name | string | The name of the ability. |
| 3 | icon | string | The full path to the ability's icon. |
| 4 | maxCooldown | number | The normal cooldown period for the ability. |
| 5 | unparsedDescription | string | The ability's description in its pure and unparsed form. |
| 6 | numTurns | number | Duration of the ability. This is typically 1, but some abilities last multiple rounds. |
| 7 | petType | number | Returned values are 1-10, based on the |
| 8 | noStrongWeakHints | boolean | True 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 ↗.