diff options
Diffstat (limited to 'crawl-ref/source/fight.cc')
-rw-r--r-- | crawl-ref/source/fight.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc index eafce6a28d..ebb45c0720 100644 --- a/crawl-ref/source/fight.cc +++ b/crawl-ref/source/fight.cc @@ -1179,6 +1179,12 @@ bool melee_attack::player_aux_unarmed() { continue; } + // no biting with visored helmet + if (you.equip[EQ_HELMET] != -1 + && (get_helmet_desc((you.inv[you.equip[EQ_HELMET]])) == THELM_DESC_VISORED)) + { + continue; + } unarmed_attack = "bite"; simple_miss_message = true; |