summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-28 16:07:10 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-28 16:07:10 +0000
commit7e6a28e43b7303033cc292d22a25b39b7eaec51c (patch)
treedcbbd21b6fbe6aef9801301bf9ac5b07b7560baf /src/map/mob.c
parent71c735ac06d62215df3dd6f33ec5ae38cd8397a2 (diff)
downloadhercules-7e6a28e43b7303033cc292d22a25b39b7eaec51c.tar.gz
hercules-7e6a28e43b7303033cc292d22a25b39b7eaec51c.tar.bz2
hercules-7e6a28e43b7303033cc292d22a25b39b7eaec51c.tar.xz
hercules-7e6a28e43b7303033cc292d22a25b39b7eaec51c.zip
- Added a missing pair of lines to mob.c which mysteriously vanished on my last commit @.@
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8519 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-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;