summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/fight.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r--crawl-ref/source/fight.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 35d8e4e1e0..9a650c722e 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -655,7 +655,7 @@ static bool _player_vampire_draws_blood(const int mons, const int damage,
}
// gain nutrition
- if (you.hunger_state < HS_ENGORGED)
+ if (you.hunger_state != HS_ENGORGED)
{
int food_value = 0;
if (chunk_type == CE_CLEAN)
@@ -1021,10 +1021,10 @@ bool melee_attack::player_aux_unarmed()
// prob of vampiric bite:
// 1/4 when non-thirsty, 1/2 when thirsty, 100% when
// bloodless
- if (you.hunger_state > HS_HUNGRY && coinflip())
+ if (you.hunger_state >= HS_SATIATED && coinflip())
break;
- if (you.hunger_state > HS_STARVING && coinflip())
+ if (you.hunger_state != HS_STARVING && coinflip())
break;
damage_brand = SPWPN_VAMPIRICISM;