summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorsketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-19 07:35:03 +0000
committersketchyphoenix <sketchyphoenix@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-19 07:35:03 +0000
commite3eb0b1aa9fa47ddd790337faefcc6001b973e37 (patch)
tree72b33e36f22b467d8feab6723adfd15c787b58c7 /src/map/skill.c
parentce45058d3c54a4809128c310c8ec72216fa15d94 (diff)
downloadhercules-e3eb0b1aa9fa47ddd790337faefcc6001b973e37.tar.gz
hercules-e3eb0b1aa9fa47ddd790337faefcc6001b973e37.tar.bz2
hercules-e3eb0b1aa9fa47ddd790337faefcc6001b973e37.tar.xz
hercules-e3eb0b1aa9fa47ddd790337faefcc6001b973e37.zip
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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 3 insertions, 0 deletions
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);
}