diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-12-31 14:12:54 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | aafa4fa2d156d69f588f1dba263dab97a013f6fb (patch) | |
tree | 85a9af53bbd2edb0d1ef47aa312d5effb8455d93 /rules.js | |
parent | ffc58ffde8743071418547285e6bc62608fcd849 (diff) | |
download | nevsky-aafa4fa2d156d69f588f1dba263dab97a013f6fb.tar.gz |
Transition from immediate event to arts of war state.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -4,6 +4,9 @@ // TODO: hit remainders // TODO: choose crossbow/normal hit application order +// TODO: precompute distance to supply lines for faster supply path rejection +// Use BFS for winter/rasputitsa supply + // TODO: Lodya capability during supply! // TODO: 2nd edition supply rule - no reuse of transports @@ -2096,6 +2099,7 @@ function discard_global_capability(c) { } if (c === AOW_RUSSIAN_SMERDI) { + // TODO: remove serfs from lord mats? game.pieces.smerdi = 0 } @@ -2189,11 +2193,12 @@ function end_levy_arts_of_war_first() { function goto_levy_arts_of_war() { log_br() log(game.active) - game.state = "levy_arts_of_war" game.what = draw_two_cards() + resume_levy_arts_of_war() } function resume_levy_arts_of_war() { + game.state = "levy_arts_of_war" if (game.what.length === 0) end_levy_arts_of_war() } |