diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-29 20:51:38 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-29 20:51:38 +0000 |
commit | 2eec605a3bbdf6ec0292e97692b2ffb8790ab227 (patch) | |
tree | 158e232a33c696d0008b91a0e1fbf0329f531be8 /src/map/skill.c | |
parent | 6bd3d89c6e4cda9aba52ec2c6774a2e90f9d47f4 (diff) | |
download | hercules-2eec605a3bbdf6ec0292e97692b2ffb8790ab227.tar.gz hercules-2eec605a3bbdf6ec0292e97692b2ffb8790ab227.tar.bz2 hercules-2eec605a3bbdf6ec0292e97692b2ffb8790ab227.tar.xz hercules-2eec605a3bbdf6ec0292e97692b2ffb8790ab227.zip |
Fixed bugreport:6074 updated Renewal Def and MDef damage reduction formula. Special thanks to KyleZ.
Fixed bugreport:7028 where damage bonus of SR_GATEOFHELL has interchange with normal damage bonus.
Fixed bugreport:6946 where CH_PALMSTRIKE causes damage when caster hides after casting.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17062 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index e2dc2c03b..ece45ce92 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3282,7 +3282,9 @@ static int skill_timerskill(int tid, unsigned int tick, int id, intptr_t data) case CH_PALMSTRIKE: { struct status_change* tsc = status_get_sc(target); - if( tsc && tsc->option&OPTION_HIDE ){ + struct status_change* sc = status_get_sc(src); + if( tsc && tsc->option&OPTION_HIDE || + sc && sc->option&OPTION_HIDE ){ skill_blown(src,target,skill_get_blewcount(skl->skill_id, skl->skill_lv), -1, 0x0 ); break; } |