diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 23:43:31 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-04-22 23:43:31 +0000 |
commit | 9daac86c5e72c14573708a7061fc0b225b2beafb (patch) | |
tree | 920c2cd189280a6fd318d45cfdbd623f8641cda4 /crawl-ref/source/fight.cc | |
parent | f790ed64f70d32167908fa93401acafbade39ab0 (diff) | |
download | crawl-ref-9daac86c5e72c14573708a7061fc0b225b2beafb.tar.gz crawl-ref-9daac86c5e72c14573708a7061fc0b225b2beafb.zip |
And add a few more.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4500 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |