Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Returns whether or not there is a pet battle in progress.

inBattle = C_PetBattles.IsInBattle()

Returns[]

inBattle
boolean - True if in a pet battle, false if not

Details[]

This function starts to return true when PET_BATTLE_OPENING_START fires. It returns false again after PET_BATTLE_OVER fires.

Patch changes[]

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

See also[]

Advertisement