ソースを参照

Mind Sensing no longer gives an xp bonus on bosses. (bugreport:1282)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12507 54d463be-8e91-2dee-dedb-b68131a5f0ec
Kevin 17 年 前
コミット
eda5b50aa1
2 ファイル変更2 行追加1 行削除
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/mob.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2008/04/06
+	* Mind 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]

+ 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])
+		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);