diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-27 19:14:45 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-27 19:14:45 +0000 |
commit | ef742fbaebe4e9622204c8e45df55137f1da2208 (patch) | |
tree | 3fb72132dee1ccb23fee208e76e6221b3c29a9f1 /crawl-ref/source/it_use2.cc | |
parent | 2eb5aea0c045caea4a260213b85f6cfa64c815ee (diff) | |
download | crawl-ref-ef742fbaebe4e9622204c8e45df55137f1da2208.tar.gz crawl-ref-ef742fbaebe4e9622204c8e45df55137f1da2208.zip |
Remove healing effect from blood potions. To make up for it, fresh blood
now has a greater nutrition (1500) compared to coagulated blood (1000,
as before).
Give Ogres the Spellcasting title of "Ogre-Mage".
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7042 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index a6ba3415fe..e8217e08d6 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -83,33 +83,24 @@ bool potion_effect( potion_type pot_eff, int pow, bool was_known ) case POT_BLOOD_COAGULATED: if (you.species == SP_VAMPIRE) { + // No healing anymore! (jpeg) + + int value = 1000; if (pot_eff == POT_BLOOD) + { mpr("Yummy - fresh blood!"); + value += 500; + } else // coagulated mpr("This tastes delicious!"); - lessen_hunger(1000, true); - - // healing depends on thirst - if (you.hunger_state < HS_SATIATED) // !heal wounds - { - inc_hp((10 + random2avg(30,2)) / factor, false); - mpr("You feel much better."); - } - else - { - if (you.hunger_state <= HS_FULL) - inc_hp(5 + random2(10), false); // !healing - else - inc_hp(2 + random2(5), false); - mpr("You feel better."); - } + lessen_hunger(value, true); } else { if (you.omnivorous() || player_mutation_level(MUT_CARNIVOROUS)) { - // Likes it + // Likes it. mpr("This tastes like blood."); lessen_hunger(200, true); } |