summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r--crawl-ref/source/mutation.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h
index ab63d452d1..615f8beccb 100644
--- a/crawl-ref/source/mutation.h
+++ b/crawl-ref/source/mutation.h
@@ -22,8 +22,13 @@ struct mutation_def
mutation_type mutation;
short rarity; // Rarity of the mutation.
short levels; // The number of levels of the mutation.
+ bool bad; // A mutation that's more bad than good. Xom uses
+ // this to decide which mutations to hand out as
+ // rewards.
};
+void fixup_mutations();
+
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr - decks - effects - fight - food - it_use2 - items -
@@ -32,7 +37,6 @@ struct mutation_def
bool mutate(mutation_type which_mutation, bool failMsg = true,
bool force_mutation = false, bool demonspawn = false);
-
// last updated 12may2000 {dlb}
/* ***********************************************************************
* called from: acr