Browse Source

Added Sirius_White's fix for sense working on emperium. (bugreport: 1679)

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12860 54d463be-8e91-2dee-dedb-b68131a5f0ec
sketchyphoenix 17 năm trước cách đây
mục cha
commit
7340e02d5b
2 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 2 0
      Changelog-Trunk.txt
  2. 3 0
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ Date	Added
 AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
+2008/06/19
+	* Added Sirius_White's fix for sense working on emperium. (bugreport: 1679) [SketchyPhoenix]
 2008/06/18
 	* Added a fix for refresh properly displaying dead and sitting players. [SketchyPhoenix]
 	* Fixed basilica behavior not knocking back monsters 2 cells should one attempt to enter the field.

+ 3 - 0
src/map/skill.c

@@ -3942,6 +3942,9 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
 				clif_skill_fail(sd,skillid,0,0);
 				break;
 			}
+			if (dstmd && dstmd->class_ == MOBID_EMPERIUM) {
+				break;
+			}
 			clif_skill_nodamage(src,bl,skillid,skilllv,1);
 			clif_skill_estimation((struct map_session_data *)src,bl);
 		}