summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-09 12:24:28 -0500
committerDavid Lawrence Ramsey <dolorous@users.sourceforge.net>2009-10-09 12:24:28 -0500
commit805250f6a8d74ff66dd3b2e49f00249c2fefd15a (patch)
treeeba151fa3fc02924d79a7de326eabd380af74391
parent0c6f0c29b298dd0ae78ed79f425acc53ddf1a2bd (diff)
downloadcrawl-ref-805250f6a8d74ff66dd3b2e49f00249c2fefd15a.tar.gz
crawl-ref-805250f6a8d74ff66dd3b2e49f00249c2fefd15a.zip
Tweak the player contamination check for mutating (very) ugly things.
-rw-r--r--crawl-ref/source/mstuff2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index 712188a40f..4c9b29d2dd 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -2501,10 +2501,10 @@ bool ugly_thing_mutate(monsters *ugly, bool proximity)
{
if (you.pos() == *ri)
{
- if (you.magic_contamination <= 5)
+ if (you.magic_contamination == 0)
continue;
- you_mutate_chance = you.magic_contamination * 8 / 25;
+ you_mutate_chance = get_contamination_level();
}
else
{