From 5a02643ceb1d8b866d5b683e312397084894a673 Mon Sep 17 00:00:00 2001 From: Asheraf Date: Tue, 29 Oct 2019 14:25:10 +0100 Subject: Add support for overriding default view data in mob database --- doc/mob_db.txt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc/mob_db.txt') 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 -- cgit v1.2.3-60-g2f50