summaryrefslogtreecommitdiff
path: root/docs/creature_template.md
diff options
context:
space:
mode:
authorShiroe <krejza9@gmail.com>2021-07-24 14:46:35 +0200
committerGitHub <noreply@github.com>2021-07-24 14:46:35 +0200
commit799ed47144c6860be5a240d17fb245be3dc250fb (patch)
tree8f363fb6ba74ad5bb51ce92bca50f78e5dcbe4ea /docs/creature_template.md
parent01677827845f43d5032627b0574c5aaca5e5b308 (diff)
downloadwiki-799ed47144c6860be5a240d17fb245be3dc250fb.tar.gz
wiki-799ed47144c6860be5a240d17fb245be3dc250fb.tar.bz2
wiki-799ed47144c6860be5a240d17fb245be3dc250fb.zip
Update creature_template.md (#609)
Add explanation for detection_range
Diffstat (limited to 'docs/creature_template.md')
-rw-r--r--docs/creature_template.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/creature_template.md b/docs/creature_template.md
index cd8bc65..e99f902 100644
--- a/docs/creature_template.md
+++ b/docs/creature_template.md
@@ -25,6 +25,7 @@ This table contains the description of creatures. Each spawned creature is an in
| [npcflag](#npcflag) | INT UNSIGNED | NO | | 0 | | |
| [speed_walk](#speed_walk) | FLOAT | NO | | 1 | | Result of 2.5/2.5, most common value |
| [speed_run](#speed_run) | FLOAT | NO | | 1.14286 | | Result of 8.0/7.0, most common value |
+| [detection_range](#detection_range) | FLOAT | NO | | 20 | | |
| [scale](#scale) | FLOAT | NO | | 1 | | |
| [rank](#rank) | TINYINT UNSIGNED | NO | | 0 | | |
| [dmgschool](#dmgschool) | TINYINT | NO | | 0 | | |
@@ -211,6 +212,10 @@ Controls how fast the creature can walk. For vehicles: increases fly speed.
Controls how fast the creature can run. For vehicles: increases ground movement speed.
+#### detection_range
+
+Controls the range at which creatures detect and see players.
+
#### scale
If non-zero, this field defines the size of how the model of the creature appears ingame. If zero, it will use default model size taken from the DBC.