summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
Diffstat (limited to 'src/map')
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 3ceb8287c..e7232a0f9 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1815,11 +1815,12 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
zeny=(int) ((md->level+rand()%md->level)*per*bonus/100.);
if(md->db->mexp > 0)
zeny*=rand()%250;
-
+ }
jper = per;
if (map[md->bl.m].flag.nobaseexp)
base_exp=0;
+ else {
temp = bonus; //Do not alter bonus for the jExp section below.
if (map[md->bl.m].bexp != 100)
temp = map[md->bl.m].bexp*temp/100;