diff options
author | Jedzkie <jedzkie13@rocketmail.com> | 2015-12-10 14:57:48 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2015-12-13 16:04:45 +0100 |
commit | f00431e91557205ae5373a8afb1b91c6b1350590 (patch) | |
tree | ed9af11ae55ec5971aa78b1553137d1e26f864b8 /src/map/pc.c | |
parent | d4737c7141d936133493a79bde34af944e3d0c7c (diff) | |
download | hercules-f00431e91557205ae5373a8afb1b91c6b1350590.tar.gz hercules-f00431e91557205ae5373a8afb1b91c6b1350590.tar.bz2 hercules-f00431e91557205ae5373a8afb1b91c6b1350590.tar.xz hercules-f00431e91557205ae5373a8afb1b91c6b1350590.zip |
ItemDB Updates:
- Added 'Malang Cat Can' item.
- Added 'Ru Blue Spear' item.
- Change the item id of 'RWC Silver Brooch' from 2998 to 2999.
- Follow up https://github.com/HerculesWS/Hercules/commit/e511dcf5940cee7a6e43744543a5ca96bc23cf84, thanks to zackdreaver.
- item_db.conf renewal minor clean-up xD
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 577123628..0313428ab 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -6553,6 +6553,8 @@ void pc_calcexp(struct map_session_data *sd, unsigned int *base_exp, unsigned in if (sd->sc.data[SC_CASH_PLUSEXP]) bonus += sd->sc.data[SC_CASH_PLUSEXP]->val1; + if (sd->sc.data[SC_OVERLAPEXPUP]) + bonus += sd->sc.data[SC_OVERLAPEXPUP]->val1; *base_exp = (unsigned int) cap_value(*base_exp + (double)*base_exp * bonus/100., 1, UINT_MAX); |