diff options
| author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2022-01-13 14:33:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-13 14:33:31 +0100 |
| commit | a8e604446f939bb5a370d11d1d22694c8f438b8d (patch) | |
| tree | c2e2c65cc5fb288ad64c5554e33316203c6a4739 /docs | |
| parent | c8e7ffc8daae0683f3cc47f4c46d99624a8d8815 (diff) | |
| download | wiki-a8e604446f939bb5a370d11d1d22694c8f438b8d.tar.gz wiki-a8e604446f939bb5a370d11d1d22694c8f438b8d.tar.bz2 wiki-a8e604446f939bb5a370d11d1d22694c8f438b8d.zip | |
chore: swim and flight speeds (#673)
* chore: swim and flight speeds
* Update creature_template.md
* Update docs/creature_template.md
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/creature_template.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/creature_template.md b/docs/creature_template.md index abc7abc..9e6b905 100644 --- a/docs/creature_template.md +++ b/docs/creature_template.md @@ -25,6 +25,8 @@ This table contains the description of creatures. Each spawned creature is an in | [npcflag](#npcflag) | INT UNSIGNED | NO | | 0 | | | | [speed_walk](#speedwalk) | FLOAT | NO | | 1 | | Result of 2.5/2.5, most common value | | [speed_run](#speedrun) | FLOAT | NO | | 1.14286 | | Result of 8.0/7.0, most common value | +| [speed_swim](#speedswim) | FLOAT | NO | | 1 | | | +| [speed_swim](#speedflight) | FLOAT | NO | | 1 | | | | [detection_range](#detectionrange) | FLOAT | NO | | 20 | | | | [scale](#scale) | FLOAT | NO | | 1 | | | | [rank](#rank) | TINYINT UNSIGNED | NO | | 0 | | | @@ -201,7 +203,7 @@ A bitmask that represents what NPC flags the creature has. Each bit controls a d | 16777216 | 0x01000000 | Spellclick | Needs data on npc_spellclick_spells table | | 67108864 | 0x04000000 | Mailbox | NPC will act like a mailbox (opens mailbox with right-click) | -So if you want a NPC that is a quest giver(2), a vendor(128) and can repair(4096) you just add specific flags together: 2+128+4096=4226 +So if you want a NPC that is a quest giver(2), a vendor(128) and can repair(4096) you just add specific flags together: 2+128+4096=4226 #### speed_walk @@ -211,6 +213,14 @@ 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. +#### speed_swim + +Controls how fast the creature can swim. + +#### speed_flight + +Controls how fast the creature can fly. + #### detection_range Controls the range at which creatures detect and see players. |
