diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-01-03 23:21:04 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | b07678cca812800b034fd31a3191edc3d5abeedc (patch) | |
tree | 4fd0075e5be6d6d856f5e5f24e46c4114ee37eaa /rules.js | |
parent | ab6461f8ec8036cbdfa4f3adac003cfc71f416ef (diff) | |
download | nevsky-b07678cca812800b034fd31a3191edc3d5abeedc.tar.gz |
2nd edition changes.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -81,6 +81,10 @@ const scenario_last_turn = { "Test": 2, } +function should_remove_no_event_card() { + return game.scenario !== "Crusade on Novgorod" +} + // unit types const KNIGHTS = 0 const SERGEANTS = 1 @@ -1872,7 +1876,7 @@ function setup_crusade_on_novgorod() { muster_lord(LORD_GAVRILO, LOC_PSKOV, 4) muster_lord(LORD_VLADISLAV, LOC_NEVA, 3) - setup_lord_on_calendar(LORD_ANDREAS, 1) + setup_lord_on_calendar(LORD_ANDREAS, 3) setup_lord_on_calendar(LORD_HEINRICH, 1) setup_lord_on_calendar(LORD_RUDOLF, 1) setup_lord_on_calendar(LORD_DOMASH, 1) @@ -3100,8 +3104,14 @@ states.levy_arts_of_war_first = { discard() { push_undo() let c = game.what.shift() - discard_card(c) - logi(`C${c} - discarded`) + + if (is_no_event_card(c) && should_remove_no_event_card()) { + logi(`C${c} - removed`) + } else { + discard_card(c) + logi(`C${c} - discarded`) + } + resume_levy_arts_of_war_first() }, } @@ -5995,9 +6005,9 @@ function start_storm() { else if (is_fort(here)) init_garrison(0, 1) else if (is_bishopric(here)) - init_garrison(1, 3) - else if (is_castle(here)) init_garrison(1, 2) + else if (is_castle(here)) + init_garrison(1, 1) // All lords must storm for (let lord = first_lord; lord <= last_lord; ++lord) { |