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/xom.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/xom.cc')
-rw-r--r-- | crawl-ref/source/xom.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc index c03a21dfdb..7377b87788 100644 --- a/crawl-ref/source/xom.cc +++ b/crawl-ref/source/xom.cc @@ -3192,7 +3192,7 @@ static int _xom_draining_torment_effect(int sever, bool debug = false) return XOM_BAD_DRAINING; god_speaks(GOD_XOM, speech.c_str()); - drain_exp(true, 100); + drain_player(100, -GOD_XOM, aux.c_str(), true); take_note(Note(NOTE_XOM_EFFECT, you.piety, -1, "draining"), true); return XOM_BAD_DRAINING; |