From 74382866b1dc40a990f6dcc164fac8eb4d3e5a46 Mon Sep 17 00:00:00 2001 From: zephyrus Date: Thu, 4 Oct 2007 20:47:35 +0000 Subject: * Added SC_EXPBOOST (Field Manual), SC_ITEMBOOST (Bubble Gum) to const.txt. Allready working. - Added SC_LIFEINSURANCE and SC_BOSSMAPINFO to const.txt. (not implemented but i will work on it) - Updated Field Manual and Bubble Gum in the itemdb.txt file. - As L0ne Wolf reported to me and based on Doddler information, the Bubble Gum only do a second try of the item drop, and it don't increase the drop rates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11356 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/pc.c') diff --git a/src/map/pc.c b/src/map/pc.c index 3e6c90792..bf999950e 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -4197,8 +4197,8 @@ 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 (sd->sc.data[SC_EXPBOOST].timer != -1) + bonus += sd->sc.data[SC_EXPBOOST].val1; if (!bonus) return; -- cgit v1.2.3-70-g09d2