From 9daac86c5e72c14573708a7061fc0b225b2beafb Mon Sep 17 00:00:00 2001 From: dolorous Date: Tue, 22 Apr 2008 23:43:31 +0000 Subject: And add a few more. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4500 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/fight.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/fight.cc') diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index 8fdb7307e4..892fb5769a 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -189,7 +189,7 @@ static int calc_your_to_hit_unarmed(int uattack = UNAT_NO_ATTACK, { if (you.hunger_state <= HS_STARVING) your_to_hit += 2; - else if (you.hunger_state <= HS_HUNGRY) + else if (you.hunger_state < HS_SATIATED) your_to_hit += 1; } } @@ -1708,7 +1708,7 @@ bool melee_attack::player_monattk_hit_effects(bool mondied) player_check_weapon_effects(); // thirsty vampires will try to use a stabbing situation to draw blood - if (you.species == SP_VAMPIRE && you.hunger_state <= HS_HUNGRY + if (you.species == SP_VAMPIRE && you.hunger_state < HS_SATIATED && mondied && stab_attempt && stab_bonus > 0 && _player_vampire_draws_blood(monster_index(def), damage_done, true)) { -- cgit v1.2.3-54-g00ecf