summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-02-09 23:12:51 +0100
committerGitHub <noreply@github.com>2020-02-09 23:12:51 +0100
commit965d3faddd4f7acc85a9afba9db4af6ee8b29224 (patch)
tree7fad03f6233153df87a77edd25c5e9a7b104050f /doc
parent1a0619fcedf573c7004489470f169e112fa1bb62 (diff)
parent4c630a6d239afae8f231977fa41ac460d2288679 (diff)
downloadhercules-965d3faddd4f7acc85a9afba9db4af6ee8b29224.tar.gz
hercules-965d3faddd4f7acc85a9afba9db4af6ee8b29224.tar.bz2
hercules-965d3faddd4f7acc85a9afba9db4af6ee8b29224.tar.xz
hercules-965d3faddd4f7acc85a9afba9db4af6ee8b29224.zip
Merge pull request #2622 from Kenpachi2k13/mob_viewdata_fix
Make mob DB field ViewData->HairStyleId defaulting to 1 instead of 0.
Diffstat (limited to 'doc')
-rw-r--r--doc/mob_db.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/mob_db.txt b/doc/mob_db.txt
index 53d345255..0280ae9c4 100644
--- a/doc/mob_db.txt
+++ b/doc/mob_db.txt
@@ -82,7 +82,7 @@ mob_db: (
HeadTopId: top headgear id (int, defaults to 0)
HeadMidId: middle headgear id (int, defaults to 0)
HeadLowId: lower headgear id (int, defaults to 0)
- HairStyleId: hair style id (int, defaults to 0)
+ HairStyleId: hair style id (int, defaults to 1)
BodyStyleId: clothes id (int, defaults to 0)
HairColorId: hair color id (int, defaults to 0)
BodyColorId: clothes color id (int, defaults to 0)
@@ -193,7 +193,7 @@ Element: Monster's element. Sets element type and level.
Mode: Monster AI behaviour. If this block is omitted, monster doesn't react to anything.
All the settings in this group are boolean values,
Default value is false (mode not set) for any missing setting.
- See /doc/sample/mob_db_mode_list.txt for more information about monsters Mode types.
+ See /doc/mob_db_mode_list.md for more information about monsters Mode types.
MoveSpeed: Monster's speed. Sets speed (cells/sec).
MoveSpeed is calculated to Hercules with this formula: 1000 / SPEED (CELLS/SEC)
@@ -278,3 +278,4 @@ DamageTakenRate:
ViewData:
Overrides the default view data sent to the client with the given values for:
Sprite, Weapon, Shield, Robe, HeadTop, HeadMid, HeadLow, HairStyle, BodyStyle, HairColor, BodyColor, Gender, Options
+ Note: HairStyleId will only default to 1, if the ViewData block is defined.