diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 792125ae5..86e1e0e62 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5856,11 +5856,12 @@ int pc_heal(struct map_session_data *sd,int hp,int sp) nullpo_retr(0, sd);
- if(hp > 0 && pc_checkoverhp(sd))
- hp = 0;
+//Uneeded as the hp range adjustment below will auto-adap itself and make hp = max. [Skotlex]
+// if(hp > 0 && pc_checkoverhp(sd))
+// hp = 0;
- if(sp > 0 && pc_checkoversp(sd))
- sp = 0;
+// if(sp > 0 && pc_checkoversp(sd))
+// sp = 0;
if(sd->sc.count && sd->sc.data[SC_BERSERK].timer!=-1) //バ?サ?ク中は回復させないらしい
return 0;
|