summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/float.des
diff options
context:
space:
mode:
authorDavid Ploog <dploog@users.sourceforge.net>2009-11-01 05:45:12 +0100
committerDavid Ploog <dploog@users.sourceforge.net>2009-11-01 05:45:12 +0100
commit82ab217c80b03d6e85cf0547c84e919535eb6827 (patch)
treed23caec319cbbaa08087ec122f7e0031c5c16e1b /crawl-ref/source/dat/float.des
parent766f9b2f52f45f9b0a579521cfc101825594cecd (diff)
downloadcrawl-ref-82ab217c80b03d6e85cf0547c84e919535eb6827.tar.gz
crawl-ref-82ab217c80b03d6e85cf0547c84e919535eb6827.zip
Simplify branch check in new vault.
Diffstat (limited to 'crawl-ref/source/dat/float.des')
-rw-r--r--crawl-ref/source/dat/float.des2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/float.des b/crawl-ref/source/dat/float.des
index ae07eedb19..f2a6dcbedf 100644
--- a/crawl-ref/source/dat/float.des
+++ b/crawl-ref/source/dat/float.des
@@ -795,7 +795,7 @@ NSUBST: " = 3:5 / *:.
KMONS: 5 = vapour
KMONS: 6 = air elemental
KMONS: 7 = fire vortex
-: if string.find(you.where(), "Elf:") then
+: if you.in_branch("elf") then
KMONS: Z = deep elf sorcerer ; robe ego:fire_resistance race:elven | \
robe ego:cold_resistance race:elven | \
robe ego:resistance race:elven