summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/map/script.c b/src/map/script.c
index c829df26e..36b83215a 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -5351,14 +5351,8 @@ BUILDIN_FUNC(percentheal)
if( sd == NULL )
return 0;
#ifdef RENEWAL
- if( sd->sc.data[SC_EXTREMITYFIST] ){
- const struct TimerData *timer;
- int tick = skill_get_time2(MO_EXTREMITYFIST, sd->sc.data[SC_EXTREMITYFIST]->val1);
-
- timer = get_timer(sd->sc.data[SC_EXTREMITYFIST]->timer);
- if( DIFF_TICK(tick, DIFF_TICK(timer->tick, gettick())) < 10000 )// 10 sec
- sp = 0;
- }
+ if( sd->sc.data[SC_EXTREMITYFIST2] )
+ sp = 0;
#endif
pc_percentheal(sd,hp,sp);
return 0;