summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 8ccccb46c..b370b6296 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6948,6 +6948,16 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp)
hp += hp / 10;
sp += sp / 10;
}
+#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;
+ }
+#endif
}
return status_heal(&sd->bl, hp, sp, 1);