diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 80c4a7260..2845ff60b 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -850,7 +850,8 @@ int unit_skilluse_id2(struct block_list *src, int target_id, int skill_num, int if(battle_check_undead(tstatus->race,tstatus->def_ele)){ temp=1; casttime = skill_castfix(src, PR_TURNUNDEAD, skill_lv); - } + } else if (!status_isdead(target)) + return 0; //Can't cast on non-dead characters. break; case MO_FINGEROFFENSIVE: if(sd) |