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/creature_template_movement.md | 104 +++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 docs/creature_template_movement.md (limited to 'docs/creature_template_movement.md') 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** + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldTypeAttributesKeyNullDefaultExtraComment
CreatureIdint(10)unsignedPRINO0
+

+
Groundtinyint(3)unsigned
+
NO0
+

+
Swimtinyint(3)unsigned
+
NO0
+

+
Flighttinyint(3)unsigned
+
NO0
+

+
Rootedtinyint(3)unsigned
+
NO0
+

+
+ +| | +|----------------------------------------------------------------| +| 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 -- cgit