summaryrefslogtreecommitdiff
path: root/src/emap/struct
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-01 01:30:35 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-01 01:30:35 +0300
commit4f35fa5d10ba0a30157205227f25aed6da67f4e1 (patch)
tree5d348e835494204a5b4f6ea0a70cb5d0d2dae470 /src/emap/struct
parenta3158d2110a2a846d39a5ddc364adb40c212241d (diff)
downloadevol-hercules-4f35fa5d10ba0a30157205227f25aed6da67f4e1.tar.gz
evol-hercules-4f35fa5d10ba0a30157205227f25aed6da67f4e1.tar.bz2
evol-hercules-4f35fa5d10ba0a30157205227f25aed6da67f4e1.tar.xz
evol-hercules-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.h1
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