From d54cf73f7ca82bdfd4949d7987e90fa14c23833b Mon Sep 17 00:00:00 2001 From: Fate Date: Sat, 31 Jan 2009 11:20:59 -0700 Subject: Add functionality for healer XP handling --- src/map/pc.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/map/pc.h') diff --git a/src/map/pc.h b/src/map/pc.h index 3d6fc64..0c4141a 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -105,6 +105,13 @@ int pc_follow(struct map_session_data*, int); // [MouseJstr] int pc_checkbaselevelup(struct map_session_data *sd); int pc_checkjoblevelup(struct map_session_data *sd); int pc_gainexp(struct map_session_data*,int,int); + +#define PC_GAINEXP_REASON_KILLING 0 +#define PC_GAINEXP_REASON_HEALING 1 +#define PC_GAINEXP_REASON_SCRIPT 2 +int pc_gainexp_reason(struct map_session_data*,int,int, int reason); +int pc_extract_healer_exp(struct map_session_data*, int max); // [Fate] Used by healers: extract healer-xp from the target, return result (up to max) + int pc_nextbaseexp(struct map_session_data *); int pc_nextbaseafter(struct map_session_data *); // [Valaris] int pc_nextjobexp(struct map_session_data *); -- cgit v1.2.3-60-g2f50