summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-11-18 01:54:57 +0100
committerGitHub <noreply@github.com>2021-11-18 01:54:57 +0100
commit694912c9c1e72853cbb7ffee8f4245f32f815592 (patch)
tree0cc2f3a70bb0141c66d5c25dc4daef2becb74b3f
parentacfc2954977dab35d03977f3d92a0701a652f2b7 (diff)
downloadwiki-694912c9c1e72853cbb7ffee8f4245f32f815592.tar.gz
wiki-694912c9c1e72853cbb7ffee8f4245f32f815592.tar.bz2
wiki-694912c9c1e72853cbb7ffee8f4245f32f815592.zip
chore: update creature_addon (#652)
-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