diff options
author | Michieru <Michieru@users.noreply.github.com> | 2015-05-26 09:27:51 +0200 |
---|---|---|
committer | Michieru <Michieru@users.noreply.github.com> | 2015-05-26 09:27:51 +0200 |
commit | 4cca156a2bffbe9b41d228da33393945de9dea4c (patch) | |
tree | d727597520f1e4ab6084dcd4c45478a04cac6409 /src/map/battle.c | |
parent | cd8e68ba9e18a6be416ecc4197b119eb9425fc23 (diff) | |
download | hercules-4cca156a2bffbe9b41d228da33393945de9dea4c.tar.gz hercules-4cca156a2bffbe9b41d228da33393945de9dea4c.tar.bz2 hercules-4cca156a2bffbe9b41d228da33393945de9dea4c.tar.xz hercules-4cca156a2bffbe9b41d228da33393945de9dea4c.zip |
Fix Vacuum Extrem resistance
In renewal Safetywall Hits Blocked depending also on Skill Level
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 393511d1c..7a2967ceb 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2788,6 +2788,8 @@ int64 battle_calc_damage(struct block_list *src,struct block_list *bl,struct Dam group->val2 -= (int)cap_value(damage,INT_MIN,INT_MAX); } else skill->del_unitgroup(group,ALC_MARK); + if (--group->val3<=0) + skill->del_unitgroup(group,ALC_MARK); #else if (--group->val2<=0) skill->del_unitgroup(group,ALC_MARK); |