diff options
author | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-09-24 14:24:56 -0500 |
---|---|---|
committer | David Lawrence Ramsey <dolorous@users.sourceforge.net> | 2009-09-24 14:24:56 -0500 |
commit | c72cef9fe1b89d887d3284b983892cd492eae52f (patch) | |
tree | 3c74602e6dbd92051c0c7a652c58f04380642c1b /crawl-ref/source/spl-cast.cc | |
parent | 18f8fc2699ae414b6ad86dfa0f754a663df7092b (diff) | |
download | crawl-ref-c72cef9fe1b89d887d3284b983892cd492eae52f.tar.gz crawl-ref-c72cef9fe1b89d887d3284b983892cd492eae52f.zip |
Make "Alter Self" properly trigger the deliberate mutation conduct
again, for the same amount as "Polymorph Other" when used on monsters.
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r-- | crawl-ref/source/spl-cast.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index 2a47897eed..b2a24c538d 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1971,7 +1971,9 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) set_hp(1 + random2(you.hp), false); - if (!mutate(RANDOM_MUTATION, false)) + if (mutate(RANDOM_MUTATION, false)) + did_god_conduct(DID_DELIBERATE_MUTATING, 2 + random2(3)); + else mpr("Odd... you don't feel any different."); break; |