diff options
Diffstat (limited to 'src/emap/status.c')
-rw-r--r-- | src/emap/status.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emap/status.c b/src/emap/status.c index 56ebb2c..f782057 100644 --- a/src/emap/status.c +++ b/src/emap/status.c @@ -235,3 +235,13 @@ int estatus_change_end__post(int retVal, */ return retVal; } + +void estatus_calc_pc_recover_hp_pre(struct map_session_data **sdPtr __attribute__ ((unused)), + struct status_data **bstatusPtr) +{ + struct status_data *bstatus = *bstatusPtr; + nullpo_retv(bstatus); + + bstatus->hp = APPLY_RATE(bstatus->max_hp, battle->bc->restart_hp_rate); + hookStop(); +} |