From c7f8596e8fa6aba108f6ff92791d0e9f4b41d39c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 19 Jan 2022 14:30:58 +0100 Subject: Log hits taken in battle. --- rules.js | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3