summaryrefslogtreecommitdiff
path: root/src/map/status.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-04-18 23:00:13 +0300
committerAndrei Karas <akaras@inbox.ru>2018-04-23 07:33:45 +0300
commita0309b09be9ae5ef313227c97bcdddc2383fbb37 (patch)
tree6d0e02fb2823659d8d9bc481df6be76cc41da18a /src/map/status.h
parentd442a7c0bfd05c6c51f7bb7f29ed20926e765f68 (diff)
downloadhercules-a0309b09be9ae5ef313227c97bcdddc2383fbb37.tar.gz
hercules-a0309b09be9ae5ef313227c97bcdddc2383fbb37.tar.bz2
hercules-a0309b09be9ae5ef313227c97bcdddc2383fbb37.tar.xz
hercules-a0309b09be9ae5ef313227c97bcdddc2383fbb37.zip
Move hp recover code from status_calc_pc_ into separate function.
Diffstat (limited to 'src/map/status.h')
-rw-r--r--src/map/status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.h b/src/map/status.h
index 5a031fa48..5df439237 100644
--- a/src/map/status.h
+++ b/src/map/status.h
@@ -2355,6 +2355,7 @@ struct status_interface {
int (*calc_pet_) (struct pet_data* pd, enum e_status_calc_opt opt);
int (*calc_pc_) (struct map_session_data* sd, enum e_status_calc_opt opt);
void (*calc_pc_additional) (struct map_session_data* sd, enum e_status_calc_opt opt);
+ void (*calc_pc_recover_hp) (struct map_session_data* sd, struct status_data *bstatus);
int (*calc_homunculus_) (struct homun_data *hd, enum e_status_calc_opt opt);
int (*calc_mercenary_) (struct mercenary_data *md, enum e_status_calc_opt opt);
int (*calc_elemental_) (struct elemental_data *ed, enum e_status_calc_opt opt);