summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-06-22 23:03:32 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-07 18:39:37 +0200
commitb83c7f35103b43a9fae4ba9b0d4b98bd95a745b1 (patch)
tree188fad680070a4c96b63051e6ecab673a40fb0cb /rules.js
parentfcfed0cab586ecf3e2e6803e27f7cb0b38cb0898 (diff)
downloadtime-of-crisis-b83c7f35103b43a9fae4ba9b0d4b98bd95a745b1.tar.gz
Show barbarian dice in homeland region.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index 8c7b846..d407d32 100644
--- a/rules.js
+++ b/rules.js
@@ -1088,6 +1088,8 @@ function goto_upkeep() {
function goto_crisis() {
game.dice[0] = roll_die()
game.dice[1] = roll_die()
+ game.dice[2] = 0
+ game.dice[3] = 0
log(`Crisis B${game.dice[0]} W${game.dice[1]}`)
@@ -3292,6 +3294,7 @@ exports.view = function (state, player_name) {
current: game.current,
prompt: null,
+ crisis: game.crisis,
support: game.support,
mobs: game.mobs,
militia: game.militia,