diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-07-12 22:16:47 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-07-12 22:16:47 +0200 |
commit | 7a51cb9add43c5e87e5ff685ab2800976629e122 (patch) | |
tree | acbfa1b8dbed2ee9ffcd524e87d75f291da1f03c | |
parent | b8d750a17e753c206a178d45980e7f55680efe69 (diff) | |
download | time-of-crisis-7a51cb9add43c5e87e5ff685ab2800976629e122.tar.gz |
Fix Damnatio remove legacy call.
-rw-r--r-- | rules.js | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -4034,17 +4034,17 @@ function roll_spiculum_dice() { let n = roll_dice(2, 3 + get_roman_drm()) if (n > 0) { if (game.combat.type === "militia" && has_militia_castra(game.where)) { - log("Castra reduces 1 hit") + log("Castra reduced 1 hit.") game.combat.castra_used = 1 n -= 1 } if (game.combat.type === "general" && has_general_castra(game.combat.target)) { - log("Castra reduces 1 hit") + log("Castra reduced 1 hit.") game.combat.castra_used = 1 n -= 1 } if (game.combat.type === "barbarians" && get_barbarian_location(SHAPUR) === game.where) { - log("Shapur I reduces 1 hit") + log("Shapur I reduced 1 hit.") game.combat.castra_used = 1 n -= 1 } @@ -4060,15 +4060,15 @@ function roll_attacker_dice() { n += roll_general_dice(game.combat.attacker) if (n > 0 && !game.combat.castra_used) { if (game.combat.type === "militia" && has_militia_castra(game.where)) { - log("Castra reduces 1 hit") + log("Castra reduced 1 hit.") n -= 1 } if (game.combat.type === "general" && has_general_castra(game.combat.target)) { - log("Castra reduces 1 hit") + log("Castra reduced 1 hit.") n -= 1 } if (game.combat.type === "barbarians" && get_barbarian_location(SHAPUR) === game.where) { - log("Shapur I reduces 1 hit") + log("Shapur I reduced 1 hit.") n -= 1 } } @@ -4440,7 +4440,7 @@ function goto_combat_victory() { goto_combat_victory_defender() } -function remove_legacy(p, reason, n) { +function remove_legacy(p, n) { log(PLAYER_NAME[p] + " -" + n + " Legacy.") game.legacy[p] -= n } |