summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-11-18 02:04:46 +0100
committerKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-11-18 02:04:46 +0100
commita16bc60f47d17fec9df4ea86784882fd61f06653 (patch)
treee871c66191f17cf6830c34dc18bb36f0044a59ab /docs
parentfe72f9201d5a6f72d0d4a50cf7ba2ee736913699 (diff)
parent694912c9c1e72853cbb7ffee8f4245f32f815592 (diff)
downloadwiki-a16bc60f47d17fec9df4ea86784882fd61f06653.tar.gz
wiki-a16bc60f47d17fec9df4ea86784882fd61f06653.tar.bz2
wiki-a16bc60f47d17fec9df4ea86784882fd61f06653.zip
Merge branch 'master' of https://github.com/azerothcore/wiki
Diffstat (limited to 'docs')
-rw-r--r--docs/creature_addon.md42
1 files changed, 25 insertions, 17 deletions
diff --git a/docs/creature_addon.md b/docs/creature_addon.md
index 123680f..071944c 100644
--- a/docs/creature_addon.md
+++ b/docs/creature_addon.md
@@ -12,19 +12,19 @@ NOTICE: The data for this table is largely incomplete and is mostly just a regur
**Structure**
-| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
-|----------------------|---------------------|------------|-----|------|---------|-------|---------|
-| [guid/entry][1] | INT/MEDIUMINT | UNSIGNED | PRI | NO | | | |
-| [path_id][2] | INT | UNSIGNED | | NO | | | |
-| [mount][3] | MEDIUMINT | UNSIGNED | | NO | | | |
-| [bytes1][4] | INT | UNSIGNED | | NO | | | |
-| [bytes2][5] | INT | UNSIGNED | | NO | | | |
-| [emote][6] | INT | UNSIGNED | | NO | | | |
-| [aiAnimKit][7] | SMALLINT | SIGNED | | NO | | | |
-| [movementAnimKit][8] | SMALLINT | SIGNED | | NO | | | |
-| [meleeAnimKit][9] | SMALLINT | SIGNED | | NO | | | |
-| [isLarge][10] | TINYINT | UNSIGNED | | NO | | | |
-| [auras][11] | text | | | YES | | | |
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+| ---------------------------- | ------------- | ---------- | --- | ---- | ------- | ----- | ------- |
+| [guid/entry][1] | INT/MEDIUMINT | UNSIGNED | PRI | NO | | | |
+| [path_id][2] | INT | UNSIGNED | | NO | | | |
+| [mount][3] | MEDIUMINT | UNSIGNED | | NO | | | |
+| [bytes1][4] | INT | UNSIGNED | | NO | | | |
+| [bytes2][5] | INT | UNSIGNED | | NO | | | |
+| [emote][6] | INT | UNSIGNED | | NO | | | |
+| [aiAnimKit][7] | SMALLINT | SIGNED | | NO | | | |
+| [movementAnimKit][8] | SMALLINT | SIGNED | | NO | | | |
+| [meleeAnimKit][9] | SMALLINT | SIGNED | | NO | | | |
+| [visibilityDistanceType][10] | TINYINT | UNSIGNED | | NO | | | |
+| [auras][11] | text | | | YES | | | |
[1]: #guid/entry
[2]: #path_id
@@ -35,7 +35,7 @@ NOTICE: The data for this table is largely incomplete and is mostly just a regur
[7]: #aianimkit
[8]: #movementanimkit
[9]: #meleeanimkit
-[10]: #islarge
+[10]: #visibilityDistanceType
[11]: #auras
**Description of the fields**
@@ -93,13 +93,21 @@ List of often used emote IDs and what they do can be found [here](Emotes).
AnimKit ID from AnimKit.db2 that is applied on creature when spawned.
-### isLarge
+### visibilityDistanceType
This field controls the visibility distance for creatures:
-0 = Normal, standard visible distance from worldserver.conf (default 90 yards)
+Normal = 0, 100.0f // default visible distance, 100 yards on continents
-1 = Large, maximum visibility distance (250 yards)
+Tiny = 1, 25.0f
+
+Small = 2, 50.0f
+
+Large = 3, 200.0f
+
+Gigantic = 4, 400.0f
+
+Infinite = 5, SIZE_OF_GRIDS // max distance for visible objects)
### auras