diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-07-07 13:15:46 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-07-07 13:15:46 +0200 |
commit | 30943675d38a6385b0d51a389e7be028b1dfb3e8 (patch) | |
tree | 960edf2e01b2ae363c79f2b6cdbf95eed932c5e9 | |
parent | 1521968d143826fb889a4e73e4742d8823e81f61 (diff) | |
download | time-of-crisis-30943675d38a6385b0d51a389e7be028b1dfb3e8.tar.gz |
reset ambitus correctly
-rw-r--r-- | rules.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2541,6 +2541,7 @@ states.praetorian_guard = { let enough = Math.max(0, need - extra - dice) spend_military(enough) game.count += enough + game.ambitus = 0 auto_replace_neutral_governor(true) }, roll() { @@ -2582,6 +2583,7 @@ function roll_to_place_governor(praetorian_guard) { if (game.ambitus > 0) { log("Ambitus") logi(new Array(game.ambitus).fill("B0").join(" ")) + game.ambitus = 0 } if (have >= need) { @@ -2612,6 +2614,7 @@ function auto_replace_neutral_governor(praetorian_guard) { if (game.ambitus > 0) { log("Ambitus") logi(new Array(game.ambitus).fill("B0").join(" ")) + game.ambitus = 0 } goto_place_governor_success() @@ -2683,6 +2686,7 @@ states.praetorian_guard_italia = { region(_) { push_undo() spend_military(1) + game.ambitus = 0 game.count = 1 game.where = ITALIA game.state = "praetorian_guard" |