diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2016-01-11 19:37:02 +0530 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-02-28 22:22:30 +0100 |
commit | 6fccf18b6112475d00c3abc63804043df8cb4df6 (patch) | |
tree | 89305c9080421768ceea19bc7cfd78293dc691cf /src/map/skill.c | |
parent | 21f992314cde9243474bb171d09ec3d971b07214 (diff) | |
download | hercules-6fccf18b6112475d00c3abc63804043df8cb4df6.tar.gz hercules-6fccf18b6112475d00c3abc63804043df8cb4df6.tar.bz2 hercules-6fccf18b6112475d00c3abc63804043df8cb4df6.tar.xz hercules-6fccf18b6112475d00c3abc63804043df8cb4df6.zip |
Added NoKnockback Mode for monsters
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 366d66234..fb08103e7 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -2089,7 +2089,7 @@ int skill_blown(struct block_list* src, struct block_list* target, int count, in case BL_MOB: { const struct mob_data *md = BL_UCCAST(BL_MOB, target); - if (md->class_ == MOBID_EMPELIUM) + if (md->status.mode&MD_NOKNOCKBACK) return 0; if (src != target && is_boss(target)) // Bosses can't be knocked-back return 0; |