C_PetBattles .IsWildBattle
Jump to navigation
Jump to search
Flavors |
---|
Links |
Info |
Added in 5.0.4 |
Returns whether or not there is a wild pet battle in progress.
inWildBattle = C_PetBattles.IsWildBattle()
Returns
- inWildBattle
- boolean - True if in a wild pet battle, false if not in a wild pet battle or not in a pet battle at all
Details
This function starts to return true when PET_BATTLE_OPENING_START fires if it is a wild battle. It returns false again after PET_BATTLE_OVER fires.
Patch changes
Patch 5.0.4 (2012-08-28): Added.