From e3eb0b1aa9fa47ddd790337faefcc6001b973e37 Mon Sep 17 00:00:00 2001 From: sketchyphoenix Date: Thu, 19 Jun 2008 07:35:03 +0000 Subject: Added Sirius_White's fix for sense working on emperium. (bugreport: 1679) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12860 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/map/skill.c | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 112862186..16285636c 100644 --- a/Changelog-Trunk.txt +++ b/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. diff --git a/src/map/skill.c b/src/map/skill.c index 78d2e3c7f..b726419ac 100644 --- a/src/map/skill.c +++ b/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); } -- cgit v1.2.3-70-g09d2