diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -249,10 +249,6 @@ exports.setup = function (seed, scenario, _options) { if (scenario === "Solo") game.solo = 1 - // TODO: setup start pieces - - // goto_card() - game.current = DS game.state = "todo" @@ -993,7 +989,8 @@ function can_march_in_space(s) { } function can_rebel() { - // todo: implement dynasty logic + if (game.succ === 0) + return false for (let s = first_space; s <= last_space; ++s) { if (can_rebel_in_space(s)) return true @@ -1262,7 +1259,7 @@ states.attack_space = { view.actions.roll = 1 }, roll() { - // clear_undo() TODO: remove for prd + clear_undo() roll_attack() log(">.ad " + game.dice.slice(0,4).filter(d => d > 0).map(d => AD[d]).join(" ")) log(">.dd " + game.dice.slice(4).filter(d => d > 0).map(d => DD[d]).join(" ")) |