WowAddons

World of Warcraft Forever API · PetBattleConstants.md, for your AI

PetBattleConstants (types and enums)

4 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Tables

Enum.PetBattleQueueStatus enumeration

None0
Queued1
QueuedUpdate2
AlreadyQueued3
JoinFailed4
JoinFailedSlots5
JoinFailedJournalLock6
JoinFailedNeutral7
MatchAccepted8
MatchDeclined9
MatchOpponentDeclined10
ProposalTimedOut11
Removed12
RequeuedAfterInternalError13
RequeuedAfterOpponentRemoved14
Matchmaking15
LostConnection16
Shutdown17
Suspended18
Unsuspended19
InBattle20
NoBattlingHere21

Enum.PetbattleSlot enumeration

Slot_00
Slot_11
Slot_22

Enum.PetbattleState enumeration

Created0
WaitingPreBattle1
RoundInProgress2
WaitingForFrontPets3
CreatedFailed4
FinalRound5
Finished6

PetBattleConsts constants

SUMMON_RANDOM_FAVORITE_BATTLEPET_SPELL_ID243819

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows