summaryrefslogtreecommitdiff
path: root/docs/game_event_model_equip.md
diff options
context:
space:
mode:
authorFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
committerFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
commita35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch)
tree91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/game_event_model_equip.md
parentd8d1823802ded97300fa57405d80b16736603489 (diff)
downloadwiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip
Import DB wiki from TC 335
Diffstat (limited to 'docs/game_event_model_equip.md')
-rw-r--r--docs/game_event_model_equip.md105
1 files changed, 97 insertions, 8 deletions
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**
+
+<table>
+<colgroup>
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td><p><strong>Field</strong></p></td>
+<td><p><strong>Type</strong></p></td>
+<td><p><strong>Attributes</strong></p></td>
+<td><p><strong>Key</strong></p></td>
+<td><p><strong>Null</strong></p></td>
+<td><p><strong>Default</strong></p></td>
+<td><p><strong>Extra</strong></p></td>
+<td><p><strong>Comment</strong></p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#game_event_model_equip-eventEntry">eventEntry</a></p></td>
+<td><p>tinyint(3)</p></td>
+<td><p>signed</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p>Entry of the game event.</p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#game_event_model_equip-guid">guid</a></p></td>
+<td><p>int(10)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p>Unique</p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#game_event_model_equip-modelid">modelid</a></p></td>
+<td><p>mediumint(8)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#game_event_model_equip-equipment_id">equipment_id</a></p></td>
+<td><p>mediumint(8)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+</tbody>
+</table>
+
+**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
+