From 6d1d871771181e033b34e41d416d25097039004c Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sun, 11 Oct 2009 18:14:12 -0500 Subject: Add spacing fixes. --- crawl-ref/source/food.cc | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'crawl-ref/source/food.cc') diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc index 56d3e95e57..e31cf2963b 100644 --- a/crawl-ref/source/food.cc +++ b/crawl-ref/source/food.cc @@ -2265,10 +2265,10 @@ void vampire_nutrition_per_turn(const item_def &corpse, int feeding) break; case MONS_ELF: - food_value += random2avg((you.experience_level * 10)/duration, 2); + food_value += random2avg((you.experience_level * 10) / duration, 2); - // Elven blood gives a bit of mana at the end of feeding, but - // only from fairly fresh corpses. + // Elven blood gives a bit of mana at the end of feeding, + // but only from fairly fresh corpses. if (corpse.special > 150) { if (end_feeding) @@ -2293,7 +2293,6 @@ void vampire_nutrition_per_turn(const item_def &corpse, int feeding) case CE_CONTAMINATED: food_value /= 2; - if (start_feeding) mpr("Somehow this blood was not very filling!"); else if (end_feeding && corpse.special > 150) @@ -2301,11 +2300,11 @@ void vampire_nutrition_per_turn(const item_def &corpse, int feeding) break; case CE_POISONOUS: - make_hungry(food_value/2, false); - // Always print this message - maybe you lost poison res. - // due to feeding. + make_hungry(food_value / 2, false); + // Always print this message - maybe you lost poison + // resistance due to feeding. mpr("Blech - this blood tastes nasty!"); - if (poison_player( 1 + random2(3) )) + if (poison_player(1 + random2(3))) xom_is_stimulated(random2(128)); stop_delay(); return; @@ -2315,7 +2314,7 @@ void vampire_nutrition_per_turn(const item_def &corpse, int feeding) if (start_feeding) mpr("This blood tastes really weird!"); mutate(RANDOM_MUTATION); - did_god_conduct( DID_DELIBERATE_MUTATING, 10); + did_god_conduct(DID_DELIBERATE_MUTATING, 10); xom_is_stimulated(100); // Sometimes heal by one hp. if (end_feeding && corpse.special > 150 && coinflip()) @@ -2327,14 +2326,14 @@ void vampire_nutrition_per_turn(const item_def &corpse, int feeding) if (start_feeding) mpr("This blood tastes *really* weird."); give_bad_mutation(); - did_god_conduct( DID_DELIBERATE_MUTATING, 10); + did_god_conduct(DID_DELIBERATE_MUTATING, 10); xom_is_stimulated(random2(200)); // No healing from bad mutagenic blood. break; case CE_HCL: - rot_player( 5 + random2(5) ); - if (disease_player( 50 + random2(100) )) + rot_player(5 + random2(5)); + if (disease_player(50 + random2(100))) xom_is_stimulated(random2(100)); stop_delay(); break; -- cgit v1.2.3-54-g00ecf