diff options
author | Asheraf <acheraf1998@gmail.com> | 2019-10-29 14:25:10 +0100 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2019-10-30 12:11:14 +0100 |
commit | 5a02643ceb1d8b866d5b683e312397084894a673 (patch) | |
tree | 20c09feed89bc2ae502026ee941da1e00ba4af1d /doc | |
parent | 857650c4f58d347455b0d075b49a53f69e6d0c51 (diff) | |
download | hercules-5a02643ceb1d8b866d5b683e312397084894a673.tar.gz hercules-5a02643ceb1d8b866d5b683e312397084894a673.tar.bz2 hercules-5a02643ceb1d8b866d5b683e312397084894a673.tar.xz hercules-5a02643ceb1d8b866d5b683e312397084894a673.zip |
Add support for overriding default view data in mob database
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mob_db.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/mob_db.txt b/doc/mob_db.txt index d62181048..53d345255 100644 --- a/doc/mob_db.txt +++ b/doc/mob_db.txt @@ -73,6 +73,22 @@ mob_db: ( AegisName: (chance, "Option Drop Group") // ... } + DamageTakenRate: damage taken rate (int, defaults to 100) + ViewData: { + SpriteId: sprite id (int, defaults to Id) + WeaponId: weapon id (int, defaults to 0) + ShieldId: shield id (int, defaults to 0) + RobeId: garment id (int, defaults to 0) + 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) + BodyStyleId: clothes id (int, defaults to 0) + HairColorId: hair color id (int, defaults to 0) + BodyColorId: clothes color id (int, defaults to 0) + Gender: gender (string, defaults to "SEX_FEMALE") + Options: options (int, defaults to 0) + } }, ... ) @@ -255,3 +271,10 @@ Drops: Sets monster drops list. } When not specified, becomes false (no drops). + +DamageTakenRate: + Limit the total damage received by the monster to the given rate + +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 |