diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-06-19 13:18:13 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-06-19 13:19:09 -0400 |
commit | d3b94b4c6e16199ce01c1249313326660f1da9f8 (patch) | |
tree | beb1647fc41db73a7cac1a5182e1c63823836d8d /crawl-ref/source/potion.cc | |
parent | 8d9a0010c1df355e967e2b0f28c5986762a6783f (diff) | |
download | crawl-ref-d3b94b4c6e16199ce01c1249313326660f1da9f8.tar.gz crawl-ref-d3b94b4c6e16199ce01c1249313326660f1da9f8.zip |
Let VS drink !curing to cure rot
Possible, for example, with lichform.
Diffstat (limited to 'crawl-ref/source/potion.cc')
-rw-r--r-- | crawl-ref/source/potion.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc index 6955be3306..a24065475e 100644 --- a/crawl-ref/source/potion.cc +++ b/crawl-ref/source/potion.cc @@ -81,7 +81,8 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know && you.duration[DUR_CONF] == 0 && you.duration[DUR_POISONING] == 0 && you.rotting == 0 - && you.disease == 0) + && you.disease == 0 + && (you.hp_max_temp == you.hp_max)) { mpr("You have no ailments to cure."); return false; |