diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-16 23:03:03 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-07-23 22:53:32 -0700 |
commit | bc4cca05f1829bd4bb812008c01682b204ee4975 (patch) | |
tree | 51c83a2c6429ab4b2de55d416ea2ab293f16f8c4 /crawl-ref/source/transform.cc | |
parent | b26780ba51a322670314796f630ee78383294f54 (diff) | |
download | crawl-ref-bc4cca05f1829bd4bb812008c01682b204ee4975.tar.gz crawl-ref-bc4cca05f1829bd4bb812008c01682b204ee4975.zip |
Put heavily drained players out of their misery
Draining is now limited, based on your level. If you get drained
further when you're already very heavily drained, you take
very sizeable amounts of damage. Hopefully this will kill you.
The death messaging seems to work, but it's not ideal. Possibly
someone can adjust that.
Diffstat (limited to 'crawl-ref/source/transform.cc')
-rw-r--r-- | crawl-ref/source/transform.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/transform.cc b/crawl-ref/source/transform.cc index f1f1417c31..bb2ba6956f 100644 --- a/crawl-ref/source/transform.cc +++ b/crawl-ref/source/transform.cc @@ -1157,7 +1157,7 @@ bool transform(int pow, transformation_type which_trans, bool involuntary, break; case TRAN_SHADOW: - drain_exp(true, 25, true); + drain_player(25, you.mindex(), "entering shadow form", true, true); if (you.invisible()) mpr("You fade into the shadows."); else |