diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-01-19 14:52:44 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | edbede5d7029137e3135eb1a5f811531032c7d63 (patch) | |
tree | c49c246c0e6e193a61a83c711af4b744d3b0e002 | |
parent | 387aaf2300856d45317573a2e4612f22d63ffae3 (diff) | |
download | richard-iii-edbede5d7029137e3135eb1a5f811531032c7d63.tar.gz |
Log hits taken in battle.
-rw-r--r-- | rules.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2496,6 +2496,7 @@ function apply_hit(who) { game.flash = block_name(who) + " takes " + n + " hit."; else game.flash = block_name(who) + " takes " + n + " hits."; + log_battle(game.flash); while (n-- > 0) { reduce_block(who); game.hits--; |