From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/game_event_model_equip.md | 105 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 97 insertions(+), 8 deletions(-) (limited to 'docs/game_event_model_equip.md') diff --git a/docs/game_event_model_equip.md b/docs/game_event_model_equip.md index 3f24fd6..c8a9dbe 100644 --- a/docs/game_event_model_equip.md +++ b/docs/game_event_model_equip.md @@ -1,8 +1,97 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [game_event_model_equip](game_event_model_equip) - -Column | Type | Description ---- | --- | --- -EventEntry | tinyint(4) | -Guid | int(10) unsigned | -Modelid | mediumint(8) unsigned | -Equipment_id | tinyint(3) unsigned | +# game\_event\_model\_equip + +`Back-to:World` + +**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

tinyint(3)

signed

 

NO

0

 

Entry of the game event.

guid

int(10)

unsigned

PRI

NO

0

Unique

 

modelid

mediumint(8)

unsigned

 

NO

0

 

 

equipment_id

mediumint(8)

unsigned

 

NO

0

 

 

+ +**Description of the fields** + +### 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. + +### eventEntry + +Entry of the event (game\_event.eventEntry) + +- In this table, event entry can only be positive + -- cgit