summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/it_use2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-25 07:53:40 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-25 07:53:40 +0000
commitcf8c3ccefe53b1421d072abdf031149132154cfc (patch)
tree2dde8d34bde5f46a1ba6bc6c65e06cdb6e1081e0 /crawl-ref/source/it_use2.cc
parentbb3e02f66396eebe85a698c8712fad6937a4b466 (diff)
downloadcrawl-ref-cf8c3ccefe53b1421d072abdf031149132154cfc.tar.gz
crawl-ref-cf8c3ccefe53b1421d072abdf031149132154cfc.zip
Fix [2253304]: Allow potions of gain [stat] to work in spite of mutation
resistance from either the amulet or Zin, but let them fail with the mutation resistance mutation. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7604 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r--crawl-ref/source/it_use2.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc
index 9ea96cb109..f6f323e511 100644
--- a/crawl-ref/source/it_use2.cc
+++ b/crawl-ref/source/it_use2.cc
@@ -147,17 +147,17 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known )
}
case POT_GAIN_STRENGTH:
- if (mutate(MUT_STRONG))
+ if (mutate(MUT_STRONG, true, false, false, true))
learned_something_new(TUT_YOU_MUTATED);
break;
case POT_GAIN_DEXTERITY:
- if (mutate(MUT_AGILE))
+ if (mutate(MUT_AGILE, true, false, false, true))
learned_something_new(TUT_YOU_MUTATED);
break;
case POT_GAIN_INTELLIGENCE:
- if (mutate(MUT_CLEVER))
+ if (mutate(MUT_CLEVER, true, false, false, true))
learned_something_new(TUT_YOU_MUTATED);
break;