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 selected action of a specific pet in the pet battle.
selectedActionType, selectedActionIndex = C_PetBattles.GetSelectedAction()
- Number - 2: Ability, 3: Switch Pet, 4: Trap, 5: Skip turn
- Number - Returned values are 1-3, corresponding to the ability buttons from left to right.
Patch 5.0.4 (2012-08-28): Added.
- C_PetBattles.SkipTurn - Use an ability
- C_PetBattles.UseTrap - Use your trap
- C_PetBattles.ChangePet - Change your pet
- C_PetBattles.SkipTurn - Skip your turn