summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells4.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2009-10-07 00:37:00 +0200
committerAdam Borowski <kilobyte@angband.pl>2009-10-07 01:32:20 +0200
commitda8bc0fd337ef1dfa043542c2f760e017324bca5 (patch)
tree58597fca5e851474580658faae3901c0bda3686a /crawl-ref/source/spells4.cc
parent36868a5a6d3e63816d9e7a2b0bfc15f8c358883d (diff)
downloadcrawl-ref-da8bc0fd337ef1dfa043542c2f760e017324bca5.tar.gz
crawl-ref-da8bc0fd337ef1dfa043542c2f760e017324bca5.zip
Mutagenic fog. Comes from Evaporate and fog generators. (due)
Diffstat (limited to 'crawl-ref/source/spells4.cc')
-rw-r--r--crawl-ref/source/spells4.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/crawl-ref/source/spells4.cc b/crawl-ref/source/spells4.cc
index 397474f187..6c3652c025 100644
--- a/crawl-ref/source/spells4.cc
+++ b/crawl-ref/source/spells4.cc
@@ -1131,6 +1131,15 @@ bool cast_evaporate(int pow, bolt& beem, int pot_idx)
break;
case POT_MUTATION:
+ // Maybe we'll get a mutagenic cloud.
+ if (coinflip())
+ {
+ beem.effect_known = true;
+ tracer_flavour = beem.flavour = BEAM_POTION_MUTAGENIC;
+ break;
+ }
+ // if not, deliberate fall through for something random
+
case POT_GAIN_STRENGTH:
case POT_GAIN_DEXTERITY:
case POT_GAIN_INTELLIGENCE: