Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
This function is restricted.
|
Uses an ability in the pet battle.
C_PetBattles.UseAbility(actionIndex)
Arguments[]
- actionIndex
- number - Accepted values are 1-3, corresponding to the ability buttons from left to right.
Patch changes[]
Patch 5.0.4 (2012-08-28): Added.
See also[]
- C_PetBattles.GetAbilityState - Determine if an ability is available to be used
- C_PetBattles.UseTrap - Attempt to trap the enemy
- C_PetBattles.SkipTurn - Skip your turn
- Pet Battle Functions