From 9845d44d11f8a36ad34ece07c4d5b0f698e571d2 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sun, 6 Apr 2008 23:27:46 +0000 Subject: Changed Mental Vision fix (r12507) to check for mexp rather then the boss flag (so as not to include mini bosses). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12510 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 2e92bac70..197e28bfc 100644 --- a/src/map/mob.c +++ b/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] && !status_get_mode(&md->bl)&MD_BOSS) + if (md->sc.data[SC_RICHMANKIM] && !md->db->mexp) bonus += md->sc.data[SC_RICHMANKIM]->val2; if(sd) { temp = status_get_class(&md->bl); -- cgit v1.2.3-70-g09d2