BATTLEGROUND_MATCH_END
Fired when a battleground match ends.
Payload
lua
{
battleground = string, -- "Warsong Gulch"
result = Enums.BattlegroundResult, -- .Victory or .Defeat
duration = number, -- Match length in seconds
kills = number, -- Your kills this match
deaths = number, -- Your deaths this match
honorGained = number -- Honor earned
}Examples
BG Wins
lua
{
id = 530,
name = "Warsong Warrior",
description = "Win 6 Warsong Gulch Matches",
points = 20,
category = 2,
icon = 132485,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "BATTLEGROUND_MATCH_END",
conditions = {
battleground = "Warsong Gulch",
result = Enums.BattlegroundResult.Victory
}
},
progress = {
type = "count",
required = 6
}
}Multiple BG Types
lua
{
id = 531,
name = "Experienced",
description = "Win 25 Eye of the Storm Matches",
points = 30,
category = 2,
icon = 132485,
cadence = Enums.Cadence.AllTime,
trigger = {
event = "BATTLEGROUND_MATCH_END",
conditions = {
battleground = "Eye of the Storm",
result = Enums.BattlegroundResult.Victory
}
},
progress = {
type = "count",
required = 25
}
}Weekly BG Wins
lua
{
id = 532,
name = "Weekly Battlemaster",
description = "Win 10 BG matches this week",
points = 30,
category = 2,
icon = 132485,
cadence = Enums.Cadence.Weekly,
trigger = {
event = "BATTLEGROUND_MATCH_END",
conditions = {
result = Enums.BattlegroundResult.Victory
}
},
progress = {
type = "count",
required = 10
}
}TBC Battlegrounds
| Battleground | Players |
|---|---|
| Warsong Gulch | 10v10 |
| Arathi Basin | 15v15 |
| Alterac Valley | 40v40 |
| Eye of the Storm | 15v15 |