The `creature_template_movement` table
This table contains the description of creatures movements, where the creature can move and attack.
Structure
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
CreatureId | int(10) | unsigned | PRI | NO | 0 | ||
Ground | tinyint(3) | unsigned | NO | 0 | |||
Swim | tinyint(3) | unsigned | NO | 0 | |||
Flight | tinyint(3) | unsigned | NO | 0 | |||
Rooted | tinyint(3) | unsigned | NO | 0 | |||
Chase | tinyint(3) | unsigned | NO | 0 | |||
Random | tinyint(3) | unsigned | NO | 0 |
Ground States: "None"=0, "Run"=1, "Hover"=2 Swim States: "None"=0, "Swim"=1 Flight States: "None"=0, "DisableGravity"=1, "CanFly" =2 (CanFly is in deprecation process, use DisableGravity instead) Rooted States: "None"=0, "Rooted "=1 Chase States: "Run"=0, "CanWalk"=1, "AlwaysWalk"=2 Random movement : "Walk"=0, "CanRun"=1, "AlwaysRun"=2 |
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
You can override this values for a specific spawn in the table: creature_movement_override