Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!
Returns the effect info for a pet's ability.
value = C_PetBattles.GetAbilityEffectInfo(abilityID, turnIndex, effectIndex, effectName)
- Number - The ID of this ability.
- Number - The turn in question for this ability. This can be obtained from C_PetBattles.GetAbilityProcTurnIndex.
- 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.
- String - One of the effect names from C_PetBattles.GetAllEffectNames.
- Number - The information you requested for a specific element of a certain effect of a certain ability at a specific turn.
To return the damage variance of Baby Winston's :
/dump C_PetBattles.GetAbilityEffectInfo(1625, 1, 1, "variance") =60
Patch 5.0.4 (2012-08-28): Added.