summaryrefslogtreecommitdiff
path: root/docs/game_event_model_equip.md
blob: 40fab555a52b16cff1c1961e24e3bb05d9f10d57 (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
# game\_event\_model\_equip

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

**The \`game\_event\_model\_equip\` table**

Contains all creature instances that need to change display id and/or equipment during defined game events.

**Structure**

| Field             | Type         | Attributes | Key | Null | Default | Extra  | Comment                  |
|-------------------|--------------|------------|-----|------|---------|--------|--------------------------|
| [eventEntry][1]   | TINYINT   | SIGNED     |     | NO   | 0       |        | Entry of the game event. |
| [guid][2]         | INT      | UNSIGNED   | PRI | NO   | 0       | Unique |                          |
| [modelid][3]      | MEDIUMINT | UNSIGNED   |     | NO   | 0       |        |                          |
| [equipment_id][4] | MEDIUMINT | UNSIGNED   |     | NO   | 0       |        |                          |

[1]: #evententry
[2]: #guid
[3]: #modelid
[4]: #equipment_id

**Description of the fields**

### eventEntry

Entry of the event (game\_event.eventEntry)

-   In this table, event entry can only be positive

### guid

Guid of the creature participating in the event (creature.guid)

### modelid

New model to be used while the event is active (Refers to creature\_model\_info.modelid)
Use 0 if only the [equipment](#game_event_model_equip-equipment_id) is to be changed during event.

### equipment\_id

New equipment to be used during the event (Refers to creature\_equip\_template.entry))
Use 0 if only the [model](#game_event_model_equip-modelid) is to be changed during event.