Join The Fan Lab, a private Fandom research community for users in the US and UK where you will be asked to share your opinions on all things gaming and entertainment! Click here to see if you qualify


From Wowpedia
Jump to: navigation, search

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

inBattle = C_PetBattles.IsInBattle()


Boolean - True if in a pet battle, false if not


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

Patch history

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

See also