summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mutation.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-30 13:09:37 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-10-30 13:09:37 +0000
commit86076a641fc7b9cc1ce20a8f3dca87655bbf62ca (patch)
tree34daad18e12725fab878fd1d2984b6cf414e6d59 /crawl-ref/source/mutation.h
parentd95b75df0b8106c0a4c4841973f153a22da22482 (diff)
downloadcrawl-ref-86076a641fc7b9cc1ce20a8f3dca87655bbf62ca.tar.gz
crawl-ref-86076a641fc7b9cc1ce20a8f3dca87655bbf62ca.zip
Updated CREDITS and INSTALL, fixed Tomb:2 (David), fixed Xom's mutation-as-reward strategy.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2683 c06c8d41-db1a-0410-9941-cceddc491573
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 35419cf737..6f653e3c30 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