slayrace: typo

develop
jj 2012-12-13 01:47:58 +01:00
parent 75ad052ac9
commit 19ff6962bc
1 changed files with 2 additions and 2 deletions

@ -43,7 +43,7 @@ df.world.units.active.map { |u|
if checkunit[u]
if (u.enemy.undead or
(u.curse.add_tags1.OPPOSED_TO_LIFE and not
u.curse.del_tags1.OPPOSED_TO_LIFE))
u.curse.rem_tags1.OPPOSED_TO_LIFE))
all_races['Undead'] += 1
else
all_races[u.race_tg.creature_id] += 1
@ -67,7 +67,7 @@ when /^undead/i
df.world.units.active.each { |u|
if (u.enemy.undead or
(u.curse.add_tags1.OPPOSED_TO_LIFE and not
u.curse.del_tags1.OPPOSED_TO_LIFE)) and
u.curse.rem_tags1.OPPOSED_TO_LIFE)) and
checkunit[u]
slayit[u]
count += 1