GetHolidayBGInfo

From Warcraft Wiki
Jump to navigation Jump to search
Links
Info
Added in 5.2.0

Returns information about the current Call to Arms battleground.

canQueue, bgName, battleGroundID, hasWon, winHonorAmount, winConquestAmount, lossHonorAmount, lossConquestAmount, minLevel, maxLevel = GetHolidayBGInfo()

Returns

canQueue
boolean - true if the player can queue for this battleground.
bgName
string - name of the battleground currently awarding bonus rewards, e.g. "Strand of the Ancients"
battleGroundID
number - battleground map ID of the battleground currently awarding bonus rewards, e.g. 9 for Strand of the Ancients.
hasWon
boolean - true if the the player has already won the 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 this battleground may be queued for.
maxLevel
number - maximum character level at which this battleground may be queued for.

Details

Patch changes

Mists of Pandaria Patch 5.4.7 (2014-02-18): New 'hasData' return value added to beginning of list.
Mists of Pandaria Patch 5.2.0 (2013-03-05): Added.

See also