diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2014-02-15 19:53:50 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2014-02-15 21:33:10 +0000 |
commit | 88102eba8a988fd4c9937969ce6e9d8ab3ea40e7 (patch) | |
tree | a1cacd9917e827d6872a795dbda42b90efd9ec95 /crawl-ref/source/transform.cc | |
parent | ff1aa09a2e88d004f475d8d8eacb35b6f2f167dc (diff) | |
download | crawl-ref-88102eba8a988fd4c9937969ce6e9d8ab3ea40e7.tar.gz crawl-ref-88102eba8a988fd4c9937969ce6e9d8ab3ea40e7.zip |
Allow undead to use Shadow Form
It's pretty distinct from other transformations by virtue of being a god
ability in particular, and thematically various undead turning into masses
of shadows seems pretty reasonable.
Diffstat (limited to 'crawl-ref/source/transform.cc')
-rw-r--r-- | crawl-ref/source/transform.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/transform.cc b/crawl-ref/source/transform.cc index a37b759b83..f061111056 100644 --- a/crawl-ref/source/transform.cc +++ b/crawl-ref/source/transform.cc @@ -826,6 +826,7 @@ bool transform(int pow, transformation_type which_trans, bool involuntary, // Catch some conditions which prevent transformation. if (you.is_undead + && which_trans != TRAN_SHADOW && (you.species != SP_VAMPIRE || which_trans != TRAN_BAT && you.hunger_state <= HS_SATIATED || which_trans == TRAN_LICH)) |