C_PetBattles. GetAbilityEffectInfo
functionguessedavailable in: camelot
Returns the effect info for a pet's 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 |
|---|---|---|
abilityID | number | The ID of this ability. |
turnIndex | number | The turn in question for this ability. This can be obtained from C_PetBattles.GetAbilityProcTurnIndex. |
effectIndex | number | The effect in question for this ability. This can be obtained from the unparsed description for this ability with extensive string manipulation, but currently no ability has more than 7 effects, so loops work too. |
effectName | string | One of the effect names from C_PetBattles.GetAllEffectNames. |
Returns
value · number · The information you requested for a specific element of a certain effect of a certain ability at a specific turn.
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 ↗.