diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-10-24 23:14:15 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-10-27 01:53:01 +0200 |
commit | 679d65df8033fe3f969cefc459fbf810e97f5af0 (patch) | |
tree | 70fbfdad68106b0483500d56798670de07a74f69 /crawl-ref/source/spl-other.cc | |
parent | 38e8f2dd1293f64600e7238f94c2e6239cb5c75f (diff) | |
download | crawl-ref-679d65df8033fe3f969cefc459fbf810e97f5af0.tar.gz crawl-ref-679d65df8033fe3f969cefc459fbf810e97f5af0.zip |
Rebase hunger values at 0 (from 100).
Also, get rid of a number (but not all) literal values, replacing them with
defines.
No compensation is given for proportional costs (Zin's wrath, hungry ghost
melee).
Diffstat (limited to 'crawl-ref/source/spl-other.cc')
-rw-r--r-- | crawl-ref/source/spl-other.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-other.cc b/crawl-ref/source/spl-other.cc index 7f3463b9df..97494f1b3d 100644 --- a/crawl-ref/source/spl-other.cc +++ b/crawl-ref/source/spl-other.cc @@ -120,7 +120,7 @@ spret_type cast_sublimation_of_blood(int pow, bool fail) while (you.magic_points < you.max_magic_points && you.hp > minhp && (you.is_undead != US_SEMI_UNDEAD - || you.hunger - food >= 7000)) + || you.hunger - food >= HUNGER_SATIATED)) { fail_check(); success = true; |