summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorshadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-13 14:40:55 +0000
committershadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-06-13 14:40:55 +0000
commitd72f64de14e5fd7b9cd1dfae235f08f156c65ccb (patch)
tree2b198abd00a61b3f44088eff45ea89aa052e9d3c /src
parentb978d7ec43d2f167a7395c2c19cc2e86bf5e4b6a (diff)
downloadhercules-d72f64de14e5fd7b9cd1dfae235f08f156c65ccb.tar.gz
hercules-d72f64de14e5fd7b9cd1dfae235f08f156c65ccb.tar.bz2
hercules-d72f64de14e5fd7b9cd1dfae235f08f156c65ccb.tar.xz
hercules-d72f64de14e5fd7b9cd1dfae235f08f156c65ccb.zip
Fixed Evil Land working versus undead element instead of undead race.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12822 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index e7052103e..55eda03cc 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -6802,7 +6802,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
break;
case UNT_EVILLAND:
- if (!battle_check_undead(tstatus->race, tstatus->def_ele) && tstatus->race!=RC_DEMON)
+ if (tstatus->race!=RC_UNDEAD && tstatus->race!=RC_DEMON)
{ //Damage enemies
if(battle_check_target(&src->bl,bl,BCT_ENEMY)>0)
skill_attack(BF_MISC, ss, &src->bl, bl, sg->skill_id, sg->skill_lv, tick, 0);