summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-09 22:00:52 +0200
committerTor Andersson <tor@ccxvii.net>2023-02-18 11:54:52 +0100
commit41430b10407de7ae54b6c998059d6d0e589f9ddd (patch)
tree9c8d3be5b93e489bddcb10590b2b04ab0f64f2ee
parent5a84afa4f4ae02dcc38cc752be4c2a7b801c7c4d (diff)
downloadwilderness-war-41430b10407de7ae54b6c998059d6d0e589f9ddd.tar.gz
Fix leader check typo.
-rw-r--r--rules.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 2d1d602..6d6ff30 100644
--- a/rules.js
+++ b/rules.js
@@ -6171,7 +6171,9 @@ function resolve_raid() {
game.raid.step_loss = losses
// 10.32: leader check
- if (natural_die === 1 || (natural_die === 6 && column === 'vs_stockade'))
+ console.log("leader check", natural_die, column)
+
+ if (natural_die === 1 || (natural_die === 6 && column === 'stockade'))
game.raid.leader_check = 1
else
game.raid.leader_check = 0