diff options
Diffstat (limited to 'docs/linked_respawn.md')
| -rw-r--r-- | docs/linked_respawn.md | 119 |
1 files changed, 113 insertions, 6 deletions
diff --git a/docs/linked_respawn.md b/docs/linked_respawn.md index 385abcd..ca0ffbd 100644 --- a/docs/linked_respawn.md +++ b/docs/linked_respawn.md @@ -1,7 +1,114 @@ -[Database Structure](Database-Structure) > [World-Database](World-Database) > [linked_respawn](linked_respawn) +# linked\_respawn + +`Back-to:World` + +**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** + +<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="#linked_respawn-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> </p></td> +<td><p> </p></td> +<td><p>Dependent Creature</p></td> +</tr> +<tr class="odd"> +<td><p><a href="#linked_respawn-linkedGuid">linkedGuid</a></p></td> +<td><p>int(10)</p></td> +<td><p>unsigned</p></td> +<td><p> </p></td> +<td><p>NO</p></td> +<td><p> </p></td> +<td><p> </p></td> +<td><p>Master Creature</p></td> +</tr> +<tr class="even"> +<td><p><a href="#linked_respawn-linkType">linkType</a></p></td> +<td><p>tinyint(3)</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 + +This is the guid of the [creature](creature_2130009.html#creature-guid) or [gameobject](gameobject_2130146.html#gameobject-guid) you want to link. + +### linkedGuid + +This is the guid of the [creature](creature_2130009.html#creature-guid) or [gameobject](gameobject_2130146.html#gameobject-guid) (boss most likely) that you want to link to. + +### linkedType + +<table> +<colgroup> +<col width="33%" /> +<col width="33%" /> +<col width="33%" /> +</colgroup> +<tbody> +<tr class="odd"> +<td><p><strong>Value</strong></p></td> +<td><p><strong>Dependent</strong></p></td> +<td><p><strong>Master</strong></p></td> +</tr> +<tr class="even"> +<td><p>0</p></td> +<td><p>creature</p></td> +<td><p>creature</p></td> +</tr> +<tr class="odd"> +<td><p>1</p></td> +<td><p>creature</p></td> +<td><p>gameobject</p></td> +</tr> +<tr class="even"> +<td><p>2</p></td> +<td><p>gameobject</p></td> +<td><p>gameobject</p></td> +</tr> +<tr class="odd"> +<td><p>3</p></td> +<td><p>gameobject</p></td> +<td><p>creature</p></td> +</tr> +</tbody> +</table> + -Column | Type | Description ---- | --- | --- -Guid | int(10) unsigned | -LinkedGuid | int(10) unsigned | -LinkType | tinyint(3) unsigned | |
