summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 23:27:46 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-06 23:27:46 +0000
commit9845d44d11f8a36ad34ece07c4d5b0f698e571d2 (patch)
treeba016fa124eb74628e6dbe2b25056a0540bed7fb
parent34802b5a596874b1e4bf088444cc14d19f7aa24d (diff)
downloadhercules-9845d44d11f8a36ad34ece07c4d5b0f698e571d2.tar.gz
hercules-9845d44d11f8a36ad34ece07c4d5b0f698e571d2.tar.bz2
hercules-9845d44d11f8a36ad34ece07c4d5b0f698e571d2.tar.xz
hercules-9845d44d11f8a36ad34ece07c4d5b0f698e571d2.zip
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/mob.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index dddeef883..f0f0fca1a 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -8,7 +8,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
- (Speed potion not included).
* Sprint, Fusion, and Increase AGI now stack independently.
- The others still don't take affect if you have any of these three. (r12508) [Kevin]
- * Mind Sensing no longer gives an xp bonus on bosses. (r12507) [Kevin]
+ * Mental Sensing no longer gives an xp bonus on bosses. (r12507) [Kevin]
* Changed Union/Increase AGI stack fix (it should work now). (r12506) [Kevin]
* Fixed seven wind not allowing ghost/shadow. (r12505) [Kevin]
* Added Moscovia to the list of @go destinations [Toms]
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);