summaryrefslogtreecommitdiff
path: root/docs/graveyard_zone.md
blob: 1877ef222a2ac427922cc17731456990a30e0cb6 (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
42
43
# graveyard\_zone

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

**The \`graveyard\_zone\` table**

Contains information about zones connected to world's graveyards.

This table is used to set what factions a given graveyard will accept, and also to specify the nearest graveyard to a given zone.

For a list of all existing graveyard zones and their respective IDs, check out WorldSafeLocs.dbc

**Structure**

|                                         |              |                |         |          |             |           |             |
|-----------------------------------------|--------------|----------------|---------|----------|-------------|-----------|-------------|
| **Field**                               | **Type**     | **Attributes** | **Key** | **Null** | **Default** | **Extra** | **Comment** |
| ID                                      | MEDIUMINT | UNSIGNED       | PRI     | NO       | 0           |           |             |
| [GhostZone](#graveyard_zone-ghost_zone) | MEDIUMINT | UNSIGNED       | PRI     | NO       | 0           |           |             |
| [Faction](#graveyard_zone-faction)      | SMALLINT  | UNSIGNED       |         | NO       | 0           |           |             |
| Comment                                 | TEXT         |                |         |          |             |           |             |

**Description of the fields**

### ID

Graveyard's ID. See WorldSafeLocs.dbc

### GhostZone

Zone's Id of ghost position before teleportation to graveyard. See AreaTable.dbc

### Faction

Graveyard's team.

0 - Any team accepted

469 - Alliance team only

67 - Horde team only

**Comment**