diff options
author | Adam Borowski <kilobyte@angband.pl> | 2013-12-28 22:40:33 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2013-12-28 22:40:33 +0100 |
commit | 5d474e4e74926d0f6ccd7bd1bc86dd5b4ee9c095 (patch) | |
tree | c2bc37dd50428f111d2cbdb44a5a1e569f6af13c /crawl-ref/source/potion.cc | |
parent | 9518ca97abf6f908c936d6bb62fb55a17f7edccd (diff) | |
download | crawl-ref-5d474e4e74926d0f6ccd7bd1bc86dd5b4ee9c095.tar.gz crawl-ref-5d474e4e74926d0f6ccd7bd1bc86dd5b4ee9c095.zip |
Give everyone the same nutrition for drinking blood.
Ie, 1000 for fresh blood, 800 for coagulated.
Also, add back the missing 40 nutrition that used to be granted for drinking
a potion.
Diffstat (limited to 'crawl-ref/source/potion.cc')
-rw-r--r-- | crawl-ref/source/potion.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/potion.cc b/crawl-ref/source/potion.cc index e8cb06034f..600c0bc038 100644 --- a/crawl-ref/source/potion.cc +++ b/crawl-ref/source/potion.cc @@ -125,7 +125,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know if (you.species == SP_VAMPIRE) { // No healing anymore! (jpeg) - int value = 800; + int value = 840; if (pot_eff == POT_BLOOD) { mpr("Yummy - fresh blood!"); @@ -138,7 +138,7 @@ bool potion_effect(potion_type pot_eff, int pow, item_def *potion, bool was_know } else { - const int value = 200; + const int value = pot_eff == POT_BLOOD ? 1040 : 840; const int herbivorous = player_mutation_level(MUT_HERBIVOROUS); if (herbivorous < 3 && player_likes_chunks()) |