diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-21 13:46:34 +0100 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-04-21 13:46:34 +0100 |
commit | b12d416045029ac6fd4b99d6e596a71a64a549b8 (patch) | |
tree | 754f61cc6226162236761107c5db6bb614e6857d /crawl-ref/source/spl-miscast.cc | |
parent | b26a5055fa7c9c6c36b3310275c068ca489b1691 (diff) | |
download | crawl-ref-b12d416045029ac6fd4b99d6e596a71a64a549b8.tar.gz crawl-ref-b12d416045029ac6fd4b99d6e596a71a64a549b8.zip |
Fix Zot traps sometimes applying a player-only effect to monsters (Nivim)
A case was removed from the switch (145100d5) but the condition hadn't
changed.
Diffstat (limited to 'crawl-ref/source/spl-miscast.cc')
-rw-r--r-- | crawl-ref/source/spl-miscast.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-miscast.cc b/crawl-ref/source/spl-miscast.cc index f1cd38d8db..8f3c49c664 100644 --- a/crawl-ref/source/spl-miscast.cc +++ b/crawl-ref/source/spl-miscast.cc @@ -2997,7 +2997,7 @@ void MiscastEffect::_zot() case 3: // other misc stuff reroll_2: // Cases at the end are for players only. - switch (random2(target->is_player() ? 15 : 10)) + switch (random2(target->is_player() ? 14 : 9)) { case 0: target->paralyse(act_source, 2 + random2(4), cause); |