summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 19:15:15 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 19:15:15 +0000
commitc4ea5fb5895ecfe233cb80f5b769ba4c86c8fc8f (patch)
tree93d959d6e84704c74ab2741b4ef1cae229e9ca0c /src/map/mob.c
parente0c532fc98f099e9ae82ffd2423673748117500c (diff)
downloadhercules-c4ea5fb5895ecfe233cb80f5b769ba4c86c8fc8f.tar.gz
hercules-c4ea5fb5895ecfe233cb80f5b769ba4c86c8fc8f.tar.bz2
hercules-c4ea5fb5895ecfe233cb80f5b769ba4c86c8fc8f.tar.xz
hercules-c4ea5fb5895ecfe233cb80f5b769ba4c86c8fc8f.zip
Mind Sensing no longer gives an xp bonus on bosses. (bugreport:1282)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12507 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-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 6463c2103..2e92bac70 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])
+ 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);