blob: d3df2148d1ff32f1820e87962aea27fa4a9fa239 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
# creature_template_movement
[<-Back-to:World](database-world.md)
This table contains the description of creatures movements, where the creature can move and attack.
This table can be overriden by \`creature_movement_override\`
**Table Structure**
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
| -------------------------- | ------- | ---------- | --- | ---- | ------- | ----- | ------- |
| [CreatureId][1] | INT | UNSIGNED | PRI | NO | 0 | | |
| [Ground][2] | TINYINT | UNSIGNED | | YES | NULL | | |
| [Swim][3] | TINYINT | UNSIGNED | | YES | NULL | | |
| [Flight][4] | TINYINT | UNSIGNED | | YES | NULL | | |
| [Rooted][5] | TINYINT | UNSIGNED | | YES | NULL | | |
| [Chase][6] | TINYINT | UNSIGNED | | YES | NULL | | |
| [Random][7] | TINYINT | UNSIGNED | | YES | NULL | | |
| [InteractionPauseTimer][8] | TINYINT | UNSIGNED | | YES | NULL | | |
[1]: #creatureid
[2]: #ground
[3]: #swim
[4]: #flight
[5]: #rooted
[6]: #chase
[7]: #random
[8]: #interactionpausetimer
**Description of the fields**
#### CreatureId
This is the [creature\_template.entry](http://www.azerothcore.org/wiki/creature_template#creature_template-entry) to which the script is linked to.
#### Ground
| State | Value |
| ----- | ----- |
| None | 0 |
| Run | 1 |
| Hover | 2 |
#### Swim
| State | Value |
| ----- | ----- |
| None | 0 |
| Swim | 1 |
#### Flight
| State | Value |
| -------------- | ----- |
| None | 0 |
| DisableGravity | 1 |
| CanFly | 2 |
#### Rooted
| State | Value |
| ------ | ----- |
| 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
#### Chase
| State | Value |
| ---------- | ----- |
| Run | 0 |
| CanWalk | 1 |
| AlwaysWalk | 2 |
#### Random
| State | Value |
| --------- | ----- |
| Walk | 0 |
| CanRun | 1 |
| AlwaysRun | 2 |
#### InteractionPauseTimer
Time (in milliseconds) during which creature will not move after interaction with player.
|