summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 23:33:50 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 23:33:50 +0000
commit9e5dbdaaacce246ec2963073beadc8a05b90e0c1 (patch)
tree14ba04334804a928d8006ed3e4e8bd881d8e9f9f
parent9845d44d11f8a36ad34ece07c4d5b0f698e571d2 (diff)
downloadhercules-9e5dbdaaacce246ec2963073beadc8a05b90e0c1.tar.gz
hercules-9e5dbdaaacce246ec2963073beadc8a05b90e0c1.tar.bz2
hercules-9e5dbdaaacce246ec2963073beadc8a05b90e0c1.tar.xz
hercules-9e5dbdaaacce246ec2963073beadc8a05b90e0c1.zip
NVM on last fix (r12510).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12511 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 197e28bfc..882605675 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] && !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);