summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-04 20:47:35 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-04 20:47:35 +0000
commit74382866b1dc40a990f6dcc164fac8eb4d3e5a46 (patch)
treeb34d333dcb98af911b0f53d75c7b6a1622ed94f4 /src/map/pc.c
parent72f668162425f86e6253d571708f9a54a776c923 (diff)
downloadhercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.tar.gz
hercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.tar.bz2
hercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.tar.xz
hercules-74382866b1dc40a990f6dcc164fac8eb4d3e5a46.zip
* 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
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c4
1 files changed, 2 insertions, 2 deletions
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;