diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-07 11:21:07 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-07 11:27:44 +0200 |
commit | a4d44c02431b1c8d4be77b154b8a9bf3bb9b15e7 (patch) | |
tree | 43a6a22fbc42908e4e8040831dd1191bcee9975f /crawl-ref/source/mutation.cc | |
parent | 33026bda3ad9fe7dbd0fe2cebbcb82de53f35830 (diff) | |
download | crawl-ref-a4d44c02431b1c8d4be77b154b8a9bf3bb9b15e7.tar.gz crawl-ref-a4d44c02431b1c8d4be77b154b8a9bf3bb9b15e7.zip |
Properly remove MUT_SLOW_HEALING from the given bad mutations.
give_bad_mutation doesn't heed the probabilities in mutation_defs,
so MUT_SLOW_HEALING could be obtained but not cured.
This is a quick fix; give_bad_mutation should reallly be integrated
with mutation_defs at some point.
Diffstat (limited to 'crawl-ref/source/mutation.cc')
-rw-r--r-- | crawl-ref/source/mutation.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mutation.cc b/crawl-ref/source/mutation.cc index 70d29ce1b5..2e31042c3c 100644 --- a/crawl-ref/source/mutation.cc +++ b/crawl-ref/source/mutation.cc @@ -1854,7 +1854,7 @@ static bool _accept_mutation(mutation_type mutat, bool ignore_rarity = false, static mutation_type _get_random_xom_mutation(bool non_fatal = false) { const mutation_type bad_muts[] = { - MUT_SLOW_HEALING, MUT_WEAK, MUT_DOPEY, + MUT_WEAK, MUT_DOPEY, MUT_CLUMSY, MUT_DEFORMED, MUT_SCREAM, MUT_DETERIORATION, MUT_BLURRY_VISION, MUT_FRAIL }; @@ -3002,7 +3002,7 @@ bool give_bad_mutation(bool failMsg, bool force_mutation, bool non_fatal) { const mutation_type bad_muts[] = { MUT_CARNIVOROUS, MUT_HERBIVOROUS, MUT_FAST_METABOLISM, - MUT_SLOW_HEALING, MUT_WEAK, MUT_DOPEY, + MUT_WEAK, MUT_DOPEY, MUT_CLUMSY, MUT_TELEPORT, MUT_DEFORMED, MUT_SCREAM, MUT_DETERIORATION, MUT_BLURRY_VISION, MUT_FRAIL, MUT_LOW_MAGIC |