Returns the current battle state.


See also Pet battles functions.

Signature:

battleState = C_PetBattles.GetBattleState()

Returns:

  • battleState - The current state of the pet battle: (number)
    • 2 - Battle is beginning
    • 3 - Battle is in progress
    • 4 - Waiting for a pet switch
    • 7 - Battle is ending