summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/crypt.des
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-11-07 18:41:16 +0100
committerAdam Borowski <kilobyte@angband.pl>2009-11-07 18:41:16 +0100
commit553ef80b592e0b6525b58e66cda898ce9d593184 (patch)
treecfb328acdc9a28ff28d0afc6c25b7eaca5be12d6 /crawl-ref/source/dat/crypt.des
parent2d9adfea3d4cd45656d17baf9a8b4a2f40de1dc7 (diff)
downloadcrawl-ref-553ef80b592e0b6525b58e66cda898ce9d593184.tar.gz
crawl-ref-553ef80b592e0b6525b58e66cda898ce9d593184.zip
Fix coinflips, in Lua 0 is true (Mu_)
Diffstat (limited to 'crawl-ref/source/dat/crypt.des')
-rw-r--r--crawl-ref/source/dat/crypt.des6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/dat/crypt.des b/crawl-ref/source/dat/crypt.des
index bd0fb16f45..e19849b5a3 100644
--- a/crawl-ref/source/dat/crypt.des
+++ b/crawl-ref/source/dat/crypt.des
@@ -664,7 +664,7 @@ KMONS: D = lich / w:5 ancient lich
KMONS: E = iron golem
KMONS: G = flayed ghost / hungry ghost / phantom
####### NE monsters (hoard). On a coinflip, either vampires or mummies.
-: if crawl.coinflip() == 0 then
+: if crawl.coinflip() then
KMONS: H = vampire mage
KMONS: I = vampire knight
KMONS: J = vampire
@@ -676,7 +676,7 @@ KMONS: J = guardian mummy / mummy
KMONS: P = large skeleton / mummy
: end
####### SE monsters (catacombs). Either corporeal or incorporeal undead.
-: if crawl.coinflip() == 0 then
+: if crawl.coinflip() then
KMONS: Z = curse skull
KMONS: Q = skeletal dragon
KMONS: R = skeletal warrior
@@ -688,7 +688,7 @@ KMONS: R = spectral warrior
KMONS: S = phantom / wraith / freezing wraith / flayed ghost / wight
: end
####### SW monsters (crematory). Either fiery undead or hellish.
-: if crawl.coinflip() == 0 then
+: if crawl.coinflip() then
KMONS: t = w:20 flaming corpse / fire giant skeleton / dragon skeleton
KMONS: X = w:1 curse skull / w:19 flaming corpse
: else