diff options
| author | FrancescoBorzi <borzifrancesco@gmail.com> | 2019-02-25 19:24:20 +0100 |
|---|---|---|
| committer | FrancescoBorzi <borzifrancesco@gmail.com> | 2019-02-25 19:24:20 +0100 |
| commit | a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch) | |
| tree | 91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/creature_template_movement.md | |
| parent | d8d1823802ded97300fa57405d80b16736603489 (diff) | |
| download | wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2 wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip | |
Import DB wiki from TC 335
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 |
