From 9f78557c7742eeb630ba5ae7b6e72d8c56a5b5b1 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Wed, 3 Oct 2007 22:49:11 +0000 Subject: * 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 --- src/map/pc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/pc.c') 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; -- cgit v1.2.3-70-g09d2