diff options
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/fight.cc | 4 | ||||
-rw-r--r-- | crawl-ref/source/item_use.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index f40ef534e9..46455cc9f0 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -844,7 +844,7 @@ static bool _player_vampire_draws_blood(const monsters* mon, const int damage, // Bats get a rather less nutrition out of it. if (player_in_bat_form()) food_value /= 2; - + food_value /= reduction; lessen_hunger(food_value, false); @@ -1995,7 +1995,7 @@ bool melee_attack::player_monattk_hit_effects(bool mondied) { // No further effects. } - else if (you.species == SP_VAMPIRE + else if (you.species == SP_VAMPIRE && damage_brand == SPWPN_VAMPIRICISM && you.equip[EQ_WEAPON] != -1 && _player_vampire_draws_blood(defender_as_monster(), diff --git a/crawl-ref/source/item_use.cc b/crawl-ref/source/item_use.cc index 217fc7444b..3ebb77b573 100644 --- a/crawl-ref/source/item_use.cc +++ b/crawl-ref/source/item_use.cc @@ -2271,7 +2271,7 @@ void throw_noise(actor* act, const bolt &pbolt, const item_def &ammo) level = 7; msg = "You hear a thunk."; break; - + default: DEBUGSTR("Invalid launcher '%s'", launcher->name(DESC_PLAIN).c_str()); |