summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index b6b87b4..4b1a182 100644
--- a/rules.js
+++ b/rules.js
@@ -1369,6 +1369,7 @@ states.ira_deorum = {
// CRISIS: PAX DEORUM
// TODO: Skip players if game end has triggered.
+// TODO: except emperor and ludi saecularis remains
function goto_pax_deorum() {
game.count = game.current
@@ -1384,6 +1385,7 @@ function resume_pax_deorum() {
if (game.draw[game.current].length > 0)
game.state = "pax_deorum"
else
+ // TODO: skip state?
game.state = "pax_deorum_done"
}
@@ -1869,7 +1871,6 @@ states.take_actions = {
let where = UNAVAILABLE
- // TODO - play all or not?
if (game.selected_governor < 0 && game.selected_general < 0 && game.selected_militia < 0 && hand.length > 0)
view.actions.play_all = 1
@@ -3643,6 +3644,7 @@ states.frumentarii = {
let draw = current_draw()
for (let c of draw)
gen_action_card(c)
+ // TODO: skip if not enough cards
},
card(c) {
push_undo()
@@ -3728,6 +3730,8 @@ function play_triumph() {
// CARD: Demagogue
+// TODO: skip players who have no turn left (auto-select worst card?)
+
function can_play_demagogue() {
return !used_card_event(CARD_P4X)
}
@@ -3791,6 +3795,7 @@ function goto_demagogue_reveal() {
if (p !== game.current) {
let c = game.demagogue[p]
log(PLAYER_NAME[p] + " revealed " + card_name(c) + ".")
+ // TODO: skip players who reveal a 1 but govern no provinces
if (card_value(c) === 1)
mobs = true
else