diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-27 14:38:28 +0200 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-10-27 14:38:28 +0200 |
commit | 7a4fb3e5f09275f7a4fb517177ec243eee2bff5d (patch) | |
tree | df6a2611f34bf2899704be26370bb4f006767aae | |
parent | 818660d6867f536e7479fca200c7b4084e1b7fcc (diff) | |
download | algeria-7a4fb3e5f09275f7a4fb517177ec243eee2bff5d.tar.gz |
harass logging
-rw-r--r-- | rules.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -3569,11 +3569,8 @@ states.fln_harass = { roll() { let list = game.selected game.selected = [] - let first_unit = list[0] - let loc = unit_loc(first_unit) clear_undo() - log_h3(`Harass in A${loc}`) game.combat = { fln_units: [], gov_units: [], @@ -3598,7 +3595,12 @@ function goto_combat() { let loc = unit_loc(game.combat.fln_units[0]) - log_h3(`Combat in A${loc}`) + if (game.combat.harass) { + log_h3(`Harass in A${loc}`) + } else { + log_h3(`Combat in A${loc}`) + } + // Result is the number of 'hits' on enemy units. let fln_firepower = 0 |