diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-02-26 18:08:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-26 18:08:42 +0100 |
| commit | 07f4555b2d68397c612ec5ee6611844e4f6d9d21 (patch) | |
| tree | 4eb8139adec79c179419c12bc4da04e463f04c3a /docs/creature_template_movement.md | |
| parent | 5de5a3ccf64a174adcec3070cd3bfeb6f6897254 (diff) | |
| parent | 49bdd146a2c870a4a2e5ae8fd77e90204d950fc8 (diff) | |
| download | wiki-07f4555b2d68397c612ec5ee6611844e4f6d9d21.tar.gz wiki-07f4555b2d68397c612ec5ee6611844e4f6d9d21.tar.bz2 wiki-07f4555b2d68397c612ec5ee6611844e4f6d9d21.zip | |
Merge pull request #8 from azerothcore/tc-bulk-import
Bulk import from TC 335 of DB doc
Diffstat (limited to 'docs/creature_template_movement.md')
| -rw-r--r-- | docs/creature_template_movement.md | 104 |
1 files changed, 104 insertions, 0 deletions
diff --git a/docs/creature_template_movement.md b/docs/creature_template_movement.md new file mode 100644 index 0000000..f87395d --- /dev/null +++ b/docs/creature_template_movement.md @@ -0,0 +1,104 @@ +# creature\_template\_movement + +**The \`creature\_template\_movement\` table** + +This table contains the description of creatures movements, where the creature can move and attack. + +**Structure** + +<table> +<thead> +<tr class="header"> +<th><strong>Field</strong></th> +<th><strong>Type</strong></th> +<th><strong>Attributes</strong></th> +<th><strong>Key</strong></th> +<th><strong>Null</strong></th> +<th><strong>Default</strong></th> +<th><strong>Extra</strong></th> +<th><strong>Comment</strong></th> +</tr> +</thead> +<tbody> +<tr class="odd"> +<td>CreatureId</td> +<td>int(10)</td> +<td>unsigned</td> +<td>PRI</td> +<td>NO</td> +<td>0</td> +<td><br /> +</td> +<td><br /> +</td> +</tr> +<tr class="even"> +<td>Ground</td> +<td>tinyint(3)</td> +<td>unsigned</td> +<td><br /> +</td> +<td>NO</td> +<td>0</td> +<td><br /> +</td> +<td><br /> +</td> +</tr> +<tr class="odd"> +<td>Swim</td> +<td>tinyint(3)</td> +<td>unsigned</td> +<td><br /> +</td> +<td>NO</td> +<td>0</td> +<td><br /> +</td> +<td><br /> +</td> +</tr> +<tr class="even"> +<td>Flight</td> +<td>tinyint(3)</td> +<td>unsigned</td> +<td><br /> +</td> +<td>NO</td> +<td>0</td> +<td><br /> +</td> +<td><br /> +</td> +</tr> +<tr class="odd"> +<td>Rooted</td> +<td>tinyint(3)</td> +<td>unsigned</td> +<td><br /> +</td> +<td>NO</td> +<td>0</td> +<td><br /> +</td> +<td><br /> +</td> +</tr> +</tbody> +</table> + +| | +|----------------------------------------------------------------| +| Ground States: "None"=0, "Run"=1, "Hover"=2 + + Swim States: "None"=0, "Swim"=1 + + Flight States: "None"=0, "DisableGravity"=1, "CanFly" =2; + + Rooted States: "None"=0, "Rooted "=1 | + +Notice: + +Rooted creature that doesn't fall once dead must use \`Ground\`=1, \`Swim\`=0, \`Flight\`=0, \`Rooted\`=1 (\`Swim\`=1 if above water) + +Rooted creature that falls once dead must use \`Ground\`=0, \`Swim\`=0, \`Flight\`=1, \`Rooted\`=1 |
