summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-15 05:37:57 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-15 05:37:57 +0000
commit4140d2abd9dfcd9cdda476fc4722067beefe0426 (patch)
tree0adc2bf2b5a801825204c284e0dec85cb8faa077 /crawl-ref/source/mutation.h
parent5599c20eb6b2cd02103958bc53b61714de350960 (diff)
downloadcrawl-ref-4140d2abd9dfcd9cdda476fc4722067beefe0426.tar.gz
crawl-ref-4140d2abd9dfcd9cdda476fc4722067beefe0426.zip
FR #2011386:
When giving or deleting a random mutation you can now request that the mutation picked doesn't instantly kill the player. Xom code now uses this option, except for when the player is under penance from Xom or Xom is bored. Improvements to the code that prevents Xom from accidently killing the player. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7835 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index b49e2c2110..fb28c16378 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -34,7 +34,8 @@ void fixup_mutations();
* *********************************************************************** */
bool mutate(mutation_type which_mutation, bool failMsg = true,
bool force_mutation = false, bool god_gift = false,
- bool stat_gain_potion = false, bool demonspawn = false);
+ bool stat_gain_potion = false, bool demonspawn = false,
+ bool non_fatal = false);
// last updated 12may2000 {dlb}
/* ***********************************************************************
@@ -52,7 +53,7 @@ formatted_string describe_mutations();
* called from: decks - it_use2 - mutation - spells
* *********************************************************************** */
bool delete_mutation(mutation_type which_mutation, bool failMsg = true,
- bool force_mutation = false);
+ bool force_mutation = false, bool non_fatal = false);
// last updated 12may2000 {dlb}
/* ***********************************************************************