diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 18:57:21 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-07 18:57:21 +0000 |
commit | 5d9d254ef290e9cc8acfdd08af279fdc1a439853 (patch) | |
tree | 4707121165dabe5aaff75d887a1e9ef230786659 /src/map/pc.h | |
parent | b4d8c6be13e3755ec9104f5317b88069860e5aef (diff) | |
download | hercules-5d9d254ef290e9cc8acfdd08af279fdc1a439853.tar.gz hercules-5d9d254ef290e9cc8acfdd08af279fdc1a439853.tar.bz2 hercules-5d9d254ef290e9cc8acfdd08af279fdc1a439853.tar.xz hercules-5d9d254ef290e9cc8acfdd08af279fdc1a439853.zip |
- Added pc_calcexp to calculate individual exp bonuses acquired from exp's source (race bonus cards, SG Exp skills, pk-mode higher level exp)
- pc_gain_exp now also receives the source of the exp, when said source exists, bonuses are applicated as needed.
- Added status_kill when capturing a mob, should take care of the mob not respawning after caputed.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7037 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 9959bb4ec..47dd0b4aa 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -135,7 +135,7 @@ unsigned int pc_maxbaselv(struct map_session_data *sd); unsigned int pc_maxjoblv(struct map_session_data *sd);
int pc_checkbaselevelup(struct map_session_data *sd);
int pc_checkjoblevelup(struct map_session_data *sd);
-int pc_gainexp(struct map_session_data*,unsigned int,unsigned int);
+int pc_gainexp(struct map_session_data*,struct block_list*,unsigned int,unsigned int);
unsigned int pc_nextbaseexp(struct map_session_data *);
unsigned int pc_nextjobexp(struct map_session_data *);
int pc_need_status_point(struct map_session_data *,int);
|