Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards. |
Returns information about the current Call to Arms battleground.
canQueue, battleGroundID, hasWon, winHonorAmount, winConquestAmount, lossHonorAmount, lossConquestAmount, minLevel, maxLevel = GetRandomBGInfo()
Returns[]
- canQueue
- boolean - true if the player can queue for a random battleground.
- battleGroundID
- number - random battleground queue map ID, 32.
- hasWon
- boolean - true if the the player has already won a random battleground once today, false otherwise.
- winHonorAmount
- number - amount of bonus Honor points awarded for winning.
- winConquestAmount
- number - amount of bonus Conquest points awarded for winning.
- lossHonorAmount
- number - amount of bonus Honor points awarded for losing.
- lossConquestAmount
- number - amount of bonus Conquest points awarded for losing.
- minLevel
- number - minimum character level at which random battlegrounds may be queued for.
- maxLevel
- number - maximum character level at which random battlegrounds may be queued for.
Details[]
battleGroundID
corresponds to a return value of GetBattlegroundInfo.
Patch changes[]
Patch 5.2.0 (2013-03-05): Added.