diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 19:37:50 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 19:37:50 +0000 |
commit | c23deaf938ce66f6c7711a72f2c147690d486376 (patch) | |
tree | 5bf8ab10fdc560d8afdbf2baf28fac99dc812eb8 /crawl-ref/source/mutation.h | |
parent | 405736986caa5e90c8b9fe72238bb8aff95fb0cc (diff) | |
download | crawl-ref-c23deaf938ce66f6c7711a72f2c147690d486376.tar.gz crawl-ref-c23deaf938ce66f6c7711a72f2c147690d486376.zip |
Add function can_safely_mutate(), to determine whether a player has any
chance of rotting upon mutation, and make Xom's random mutation routines
use it.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4482 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mutation.h')
-rw-r--r-- | crawl-ref/source/mutation.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/mutation.h b/crawl-ref/source/mutation.h index 066073c1b1..d52bc659fd 100644 --- a/crawl-ref/source/mutation.h +++ b/crawl-ref/source/mutation.h @@ -46,6 +46,9 @@ bool mutate(mutation_type which_mutation, bool failMsg = true, void display_mutations(); bool mutation_is_fully_active(mutation_type mut); + +bool can_safely_mutate(); + formatted_string describe_mutations(); |