summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorMichieru <Michieru@users.noreply.github.com>2015-05-26 09:27:51 +0200
committerMichieru <Michieru@users.noreply.github.com>2015-05-26 09:27:51 +0200
commit4cca156a2bffbe9b41d228da33393945de9dea4c (patch)
treed727597520f1e4ab6084dcd4c45478a04cac6409 /src/map/battle.c
parentcd8e68ba9e18a6be416ecc4197b119eb9425fc23 (diff)
downloadhercules-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.c2
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);