|
@@ -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.);
|
|
zeny=(int) ((md->level+rand()%md->level)*per*bonus/100.);
|
|
if(md->db->mexp > 0)
|
|
if(md->db->mexp > 0)
|
|
zeny*=rand()%250;
|
|
zeny*=rand()%250;
|
|
-
|
|
|
|
|
|
+ }
|
|
jper = per;
|
|
jper = per;
|
|
|
|
|
|
if (map[md->bl.m].flag.nobaseexp)
|
|
if (map[md->bl.m].flag.nobaseexp)
|
|
base_exp=0;
|
|
base_exp=0;
|
|
|
|
+ else {
|
|
temp = bonus; //Do not alter bonus for the jExp section below.
|
|
temp = bonus; //Do not alter bonus for the jExp section below.
|
|
if (map[md->bl.m].bexp != 100)
|
|
if (map[md->bl.m].bexp != 100)
|
|
temp = map[md->bl.m].bexp*temp/100;
|
|
temp = map[md->bl.m].bexp*temp/100;
|