v0.13.7

C_PetBattles.GetSelectedAction

functionrecordedavailable in: camelot

Returns the selected action of a specific pet in the pet battle.

The client has this function, but Blizzard's documentation leaves it out, so its parameters and results aren't known.

Returns

#nametypedescription
1selectedActionTypenumber2: Ability, 3: Switch Pet, 4: Trap, 5: Skip turn
2selectedActionIndexnumberReturned values are 1-3, corresponding to the ability buttons from left to right.

In wowlua's emulated client

recordedThe answer was recorded from the real client and is played back for the same call. what the statuses mean

sources

Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.