summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-04 01:22:31 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commitba8579e69049a1edc9d345d396cc9a60bbbd2ac7 (patch)
tree35895071a2b29ff54886dbac26db8e4dac76dfbb /rules.js
parent8e51ce983f412f003b6ae7ebc650bef49a8c91ad (diff)
downloadnevsky-ba8579e69049a1edc9d345d396cc9a60bbbd2ac7.tar.gz
Proposed "No Event" handling.
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 2f9fa26..ce9ad21 100644
--- a/rules.js
+++ b/rules.js
@@ -83,7 +83,9 @@ const scenario_last_turn = {
}
function should_remove_no_event_card() {
- return game.scenario !== "Crusade on Novgorod"
+ if (game.scenario === "Crusade on Novgorod")
+ return current_turn() >= 9
+ return true
}
// unit types
@@ -1676,6 +1678,10 @@ exports.setup = function (seed, scenario, options) {
function setup_pleskau() {
game.turn = 1 << 1
+ // Remove all No Event cards in this scenario
+ game.no1 = 0
+ game.no2 = 0
+
game.pieces.veche_vp = 1
muster_lord(LORD_HERMANN, LOC_DORPAT, 4)