diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-23 19:20:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2009-04-23 19:20:52 +0000 |
commit | 9b8726ed7a51f1556ebd359761ee4a7a6ca4c27e (patch) | |
tree | 2c15d553cde917747788149d0bc9aa22a1e92440 /crawl-ref/source/it_use2.cc | |
parent | 6f3235272af77ed0710c00a2dffdbc6f4dfbf839 (diff) | |
download | crawl-ref-9b8726ed7a51f1556ebd359761ee4a7a6ca4c27e.tar.gz crawl-ref-9b8726ed7a51f1556ebd359761ee4a7a6ca4c27e.zip |
Add minor cosmetic fixes. Also, tweak the message for when non-chunk
lovers drink potions of blood to not use "Blech", as it gives nutrition,
unlike other cases (e.g. when partial carnivores drink potions of
porridge).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9685 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/it_use2.cc')
-rw-r--r-- | crawl-ref/source/it_use2.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crawl-ref/source/it_use2.cc b/crawl-ref/source/it_use2.cc index 43c7f51ae9..9617c1264c 100644 --- a/crawl-ref/source/it_use2.cc +++ b/crawl-ref/source/it_use2.cc @@ -84,7 +84,7 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) // only fix rot when healed to full if (you.hp == you.hp_max) { - unrot_hp( (2 + random2avg(5, 2)) / factor ); + unrot_hp((2 + random2avg(5, 2)) / factor); set_hp(you.hp_max, false); } break; @@ -121,12 +121,12 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) } else { - mpr("Blech - this tastes like blood!"); + mpr("Yuck - this tastes like blood!"); if (x_chance_in_y(herbivorous + 1, 4)) { // Full herbivores always become ill from blood. disease_player(50 + random2(100)); - xom_is_stimulated(32/xom_factor); + xom_is_stimulated(32 / xom_factor); } else lessen_hunger(value, true); @@ -136,7 +136,7 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) break; case POT_SPEED: - haste_player( (40 + random2(pow)) / factor ); + haste_player((40 + random2(pow)) / factor); break; case POT_MIGHT: @@ -308,7 +308,7 @@ bool potion_effect(potion_type pot_eff, int pow, bool drank_it, bool was_known) { mpr("You feel more experienced!"); - you.experience = 1 + exp_needed( 2 + you.experience_level ); + you.experience = 1 + exp_needed(2 + you.experience_level); level_change(); } else |