summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-03 02:50:41 +0000
committerrud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-09-03 02:50:41 +0000
commit797e2b728c34e2037da494070913bbe2f84a91c2 (patch)
tree3bf01102da3eb9e33b1f9d52a502dace440fd7b2 /src/map/pc.c
parent424936462f83dc689ae1863cba8b66308b89b416 (diff)
downloadhercules-797e2b728c34e2037da494070913bbe2f84a91c2.tar.gz
hercules-797e2b728c34e2037da494070913bbe2f84a91c2.tar.bz2
hercules-797e2b728c34e2037da494070913bbe2f84a91c2.tar.xz
hercules-797e2b728c34e2037da494070913bbe2f84a91c2.zip
Fixed bugreport:6581 applied balance update to MO_EXTREMITYFIST.
Fixed bugreport:6457 where SR_CURSEDCIRCLE is not remove when target dies. Fixed bugreport:6535 updated GN_CRAZY_WEED to its official behavior. Fixed bugreport:6592 added a missing break in Spiral Pierce skillratio at battle.c. Fixed a faulty skillratio formula of GN_CART_TORNADO. Thanks to Lighta git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16738 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);