瀏覽代碼

NVM on last fix (r12510).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12511 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin 17 年之前
父節點
當前提交
d9c9d9b3f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/map/mob.c

+ 1 - 1
src/map/mob.c

@@ -2166,7 +2166,7 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
 		(!map[m].flag.nobaseexp || !map[m].flag.nojobexp) //Gives Exp
 	) { //Experience calculation.
 		int bonus = 100; //Bonus on top of your share (common to all attackers).
-		if (md->sc.data[SC_RICHMANKIM] && !md->db->mexp)
+		if (md->sc.data[SC_RICHMANKIM] && !(status_get_mode(&md->bl)&MD_BOSS))
 			bonus += md->sc.data[SC_RICHMANKIM]->val2;
 		if(sd) {
 			temp = status_get_class(&md->bl);