diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-14 13:34:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-12-14 13:34:33 +0000 |
commit | 3d3d03f771d2161b20986726a05d680c5771c8f1 (patch) | |
tree | 503d9b7470f88be08f395a92397736cf33e54519 /crawl-ref/source/rltiles/tiledef_defines.h | |
parent | 4bd5cef214da1bb0553ef69e9b6d09ea37bf31bd (diff) | |
download | crawl-ref-3d3d03f771d2161b20986726a05d680c5771c8f1.tar.gz crawl-ref-3d3d03f771d2161b20986726a05d680c5771c8f1.zip |
Partial implementation of FR #2011386: Xom shouldn't directly kill the player
unless he's being nasty (the player is under penance from Xom or Xom is bored).
I've put checks into _xom_is_good() and _xom_is_bad() to avoid this as much as
possible, and as a safety-net changed ouch() to return early if the player dies
from a Xom effect when Xom wasn't being nasty so that xom_acts() can then fix
things up (this causes Xom to give a message from "Xom accidental homicide" in
dat/database/godspeak.txt)
Next up will be an addition to mutate() so you can request random mutations be
non-lethal, which should take care of all known situations where ouch() returns
early due to Xom making a mistake.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7833 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/rltiles/tiledef_defines.h')
0 files changed, 0 insertions, 0 deletions