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!

API C_PetBattles.GetSelectedAction

From Wowpedia
Jump to: navigation, search

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 history

Mists of Pandaria Patch 5.0.4 (2012-08-28): Added.

See also