summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-04 14:17:23 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:38 +0100
commite6a5ac3e558ad6129ac293f2780119b7bd26a6d3 (patch)
treebc7d14396344314023cc393e0dddf005e10c76ce
parente6a1a9fbbaa38142b8ff2ec3106322295e71f336 (diff)
downloadnevsky-e6a5ac3e558ad6129ac293f2780119b7bd26a6d3.tar.gz
Fix Delay the Princes.
-rw-r--r--rules.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/rules.js b/rules.js
index 1c7743b..8a87718 100644
--- a/rules.js
+++ b/rules.js
@@ -3817,19 +3817,19 @@ states.novgorod_veche = {
if (game.scenario === "Watland") {
log("Decline of Andrey: Added 2VP to Veche.")
- view.actions.veche_vp += 2
+ game.pieces.veche_vp += 2
} else {
log("Added 1VP to Veche.")
- view.actions.veche_vp += 1
+ game.pieces.veche_vp += 1
}
if (is_lord_ready(LORD_ALEKSANDR)) {
log(`Delayed L${LORD_ALEKSANDR}.`)
- shift_lord_cylinder(LORD_ALEKSANDR, 1)
+ set_lord_calendar(LORD_ALEKSANDR, current_turn() + 1)
}
if (is_lord_ready(LORD_ANDREY)) {
log(`Delayed L${LORD_ANDREY}.`)
- shift_lord_cylinder(LORD_ANDREY, 1)
+ set_lord_calendar(LORD_ANDREY, current_turn() + 1)
}
},
lord(lord) {