From 4f35fa5d10ba0a30157205227f25aed6da67f4e1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 Sep 2016 01:30:35 +0300 Subject: Add into mob_db skill type attacks modifier. New group in mob_db: SkillAttacks Example: SkillAttacks: { SM_BASH: 5000 // mean SM_BASH skill do 50% of normal damage } Default value is 10000 mean 100% --- src/emap/struct/mobdext.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/emap/struct') diff --git a/src/emap/struct/mobdext.h b/src/emap/struct/mobdext.h index 879ca99..012485f 100644 --- a/src/emap/struct/mobdext.h +++ b/src/emap/struct/mobdext.h @@ -8,6 +8,7 @@ struct MobdExt { int walkMask; int weaponAttacks[MAX_WEAPON_TYPE]; + int skillAttacks[MAX_SKILL_DB]; }; #endif // EVOL_MAP_MOBDEXT -- cgit v1.2.3-70-g09d2