summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-09 23:32:09 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-09 23:32:09 +0000
commitb19b2cd0e21bc0ce9d513469c4a575419aaf918e (patch)
tree54af6a7f57e0bed88d7ea3a503461bb99298f5d3 /src/map/skill.c
parentb857a6bdc74487633ea48305f71d9886ec25aabf (diff)
downloadhercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.tar.gz
hercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.tar.bz2
hercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.tar.xz
hercules-b19b2cd0e21bc0ce9d513469c4a575419aaf918e.zip
- Fixed status-change loading not working.
- Fixed permanent mob-spawn script-events not working. - AL_CURE won't confuse undead players. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9187 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index c27b187e8..c8365482a 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4266,7 +4266,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
status_change_end(bl, SC_SILENCE , -1 );
status_change_end(bl, SC_BLIND , -1 );
status_change_end(bl, SC_CONFUSION, -1 );
- if(battle_check_undead(tstatus->race,tstatus->def_ele))
+ //Confusion on undead won't trigger on undead players.
+ if(!dstsd && battle_check_undead(tstatus->race,tstatus->def_ele))
sc_start(bl, SC_CONFUSION,100,1,skill_get_time2(skillid, skilllv));
clif_skill_nodamage(src,bl,skillid,skilllv,1);
break;