summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2009-01-31 11:20:59 -0700
committerFate <fate-tmw@googlemail.com>2009-01-31 11:20:59 -0700
commitd54cf73f7ca82bdfd4949d7987e90fa14c23833b (patch)
treea7b392b3e57b73122054bc53ff773a8b35bb142e /src/map/pc.h
parent997bac8c9963354d53d467208e09c24d57055c1d (diff)
downloadtmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.gz
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.bz2
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.tar.xz
tmwa-d54cf73f7ca82bdfd4949d7987e90fa14c23833b.zip
Add functionality for healer XP handling
Diffstat (limited to 'src/map/pc.h')
-rw-r--r--src/map/pc.h7
1 files changed, 7 insertions, 0 deletions
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 *);