summaryrefslogtreecommitdiff
path: root/docs/linked_respawn.md
blob: 437e24315e20494ddd17354798cedd9311f0ea26 (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
# linked\_respawn

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

**The \`linked\_respawn\` table**

This table links trash mobs to bosses so that if you kill the boss, the trash do not respawn before the instance is reset.
Gameobjects can be linked too!

**Structure**

| Field           | Type       | Attributes | Key | Null | Default | Extra | Comment            |
|-----------------|------------|------------|-----|------|---------|-------|--------------------|
| [guid][1]       | INT    | UNSIGNED   | PRI | NO   |         |       | Dependent Creature |
| [linkedGuid][2] | INT    | UNSIGNED   |     | NO   |         |       | Master Creature    |
| [linkType][3]   | TINYINT | UNSIGNED   |     | NO   | 0       |       |                    |

[1]: #guid
[2]: #linkedguid
[3]: #linktype

**Description of the fields**

### guid

This is the guid of the [creature](http://www.azerothcore.org/wiki/creature#guid) or [gameobject](http://www.azerothcore.org/wiki/gameobject#guid) you want to link.

### linkedGuid

This is the guid of the [creature](http://www.azerothcore.org/wiki/creature#guid) or [gameobject](http://www.azerothcore.org/wiki/gameobject#guid) (boss most likely) that you want to link to.

### linkedType

| Value | Dependent  | Master     |
|-------|------------|------------|
| 0     | creature   | creature   |
| 1     | creature   | gameobject |
| 2     | gameobject | gameobject |
| 3     | gameobject | creature   |