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.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/crawl-ref/source/fight.cc b/crawl-ref/source/fight.cc
index 676c72386a..dd585a1410 100644
--- a/crawl-ref/source/fight.cc
+++ b/crawl-ref/source/fight.cc
@@ -1167,6 +1167,9 @@ bool melee_attack::player_aux_unarmed()
if (!ely_block && (to_hit >= def->ev || one_chance_in(30)))
{
+ // Upset the monster.
+ behaviour_event(def, ME_WHACK, MHITYOU);
+
if (attack_shield_blocked(true))
continue;
if (player_apply_aux_unarmed())
@@ -1536,7 +1539,7 @@ int melee_attack::player_stab(int damage)
if (stab_bonus)
{
- // Lets make sure we have some damage to work with...
+ // Let's make sure we have some damage to work with...
damage = std::max(1, damage);
if (mons_is_sleeping(def))