API GetRandomBGInfo

From Wowpedia
Jump to: navigation, search

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

Patch history

Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.

See also