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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 5c46708b1..9bf6c5d22 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -5502,6 +5502,10 @@ int pc_itemheal(struct map_session_data *sd,int itemid, int hp,int sp)
}
if(bonus!=100)
hp = hp * bonus / 100;
+
+ // Recovery Potion
+ if( sd->sc.count && sd->sc.data[SC_INCHEALRATE].timer!=-1 )
+ hp += (int)(hp * sd->sc.data[SC_INCHEALRATE].val1/100.);
}
if(sp) {
bonus = 100 + (sd->battle_status.int_<<1)