summaryrefslogtreecommitdiff
path: root/docs/game_event_battleground_holiday.md
blob: 93bfe7dfdf732fe611b9d5fefa062c2315537256 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# game\_event\_battleground\_holiday

[<-Back-to:World](database-world.md)

**The \`Game\_event\_battleground\_holiday\` table**

This table is used to add a holiday to a battleground, for things like extra reputation / honor.

**Structure**

| Field           | Type       | Attributes | Key | Null | Default | Extra  | Comment                 |
|-----------------|------------|------------|-----|------|---------|--------|-------------------------|
| [eventEntry][1] | TINYINT | UNSIGNED   | PRI | NO   |         | Unique | Entry of the game event |
| [bgflag][2]     | INT    | UNSIGNED   |     | NO   | 0       |        |                         |

[1]: #evententry
[2]: #bgflag

**Description of the fields**

### eventEntry

This is entry id of the game\_event that was setup to add the holiday.

### bgflag

This is a bitmask field that decides which battle grounds are affected for this given holiday.

| bit  | Battleground           |
|------|------------------------|
| 1    | Alterac Valley         |
| 4    | Warsong Gulch          |
| 8    | Arathi Basin           |
| 16   | Nagrand Arena          |
| 32   | Blade's Edge Arena     |
| 64   | All Arena              |
| 128  | Eye of the Storm       |
| 256  | Ruins of Lordaeron     |
| 512  | Strand of the Ancients |
| 1024 | Dalaran Sewers         |
| 2048 | The Ring of Valor      |