summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-01-19 14:30:58 +0100
committerTor Andersson <tor@ccxvii.net>2022-11-17 12:53:18 +0100
commitc7f8596e8fa6aba108f6ff92791d0e9f4b41d39c (patch)
tree080c398b66266833cf360907fdb4d6f9c9111f54
parenta8d7869b88e534a98aec5e97bf87ce8d3fd7a419 (diff)
downloadhammer-of-the-scots-c7f8596e8fa6aba108f6ff92791d0e9f4b41d39c.tar.gz
Log hits taken in battle.
-rw-r--r--rules.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 6a20e79..85c976d 100644
--- a/rules.js
+++ b/rules.js
@@ -1736,6 +1736,7 @@ function goto_battle_hits() {
function apply_hit(who) {
game.flash = block_name(who) + " takes a hit.";
+ log_battle(block_name(who) + " takes a hit.");
reduce_block(who, 'combat');
game.hits--;
if (game.victory)