diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-03 22:49:11 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-03 22:49:11 +0000 |
commit | 9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1 (patch) | |
tree | b0dbd43762e81aaf914231e200741eddf24a9851 /src/map/pc.c | |
parent | 9aff15a57af029d3ec66fa9a038cdb4ba265ce3e (diff) | |
download | hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.tar.gz hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.tar.bz2 hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.tar.xz hercules-9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1.zip |
* Added the code for Field Manual (SC_BONUSEXP) and Bubble Gum (SC_BONUSDROP)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11351 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 1c762ca44..3e6c90792 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4197,6 +4197,9 @@ static void pc_calcexp(struct map_session_data *sd, unsigned int *base_exp, unsi (int)(status_get_lv(src) - sd->status.base_level) >= 20) bonus += 15; // pk_mode additional exp if monster >20 levels [Valaris] + if (sd->sc.data[SC_BONUSEXP].timer != -1) + bonus += sd->sc.data[SC_BONUSEXP].val1; + if (!bonus) return; |