diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-09-01 01:30:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-09-01 01:30:35 +0300 |
commit | 4f35fa5d10ba0a30157205227f25aed6da67f4e1 (patch) | |
tree | 5d348e835494204a5b4f6ea0a70cb5d0d2dae470 /src/emap/struct | |
parent | a3158d2110a2a846d39a5ddc364adb40c212241d (diff) | |
download | plugin-4f35fa5d10ba0a30157205227f25aed6da67f4e1.tar.gz plugin-4f35fa5d10ba0a30157205227f25aed6da67f4e1.tar.bz2 plugin-4f35fa5d10ba0a30157205227f25aed6da67f4e1.tar.xz plugin-4f35fa5d10ba0a30157205227f25aed6da67f4e1.zip |
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%
Diffstat (limited to 'src/emap/struct')
-rw-r--r-- | src/emap/struct/mobdext.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |