summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js23
1 files changed, 17 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 1cbe2a4..b7a3d19 100644
--- a/rules.js
+++ b/rules.js
@@ -4,9 +4,10 @@
/* TODO
-renumber
- major powers 0-4
- minor powers 5-6
+show who controls which power in player list
+
+austria/pragmatic move order on flanders (start with pragmatic)
+ only stack if agree (undo/move to previous space)
winter scoring
@@ -15,7 +16,10 @@ tc draw
-- advanced --
+silesia home country for prussia
+
tc subsidies
+ minor when major fortress enemy occupied
subsidy contracts
arenberg supply exception
@@ -1163,12 +1167,19 @@ function draw_tc(n) {
}
function goto_tactical_cards() {
-
// TODO: pause to decide subsidy (france/bavaria)
// TODO: no TC (even subsidy) if major fortress is enemy controlled
- draw_tc(tc_per_turn())
+ if (game.power === P_BAVARIA && is_enemy_controlled_fortress(MUNCHEN)) {
+ log("S" + MUNCHEN + " is enemy controlled.")
+ game.draw = []
+ } else if (game.power === P_SAXONY && is_enemy_controlled_fortress(DRESDEN)) {
+ log("S" + DRESDEN + " is enemy controlled.")
+ game.draw = []
+ } else {
+ draw_tc(tc_per_turn())
+ }
game.state = "tactical_cards_show"
}
@@ -3359,7 +3370,7 @@ states.setup_general = {
view.actions.value.push(i)
},
value(v) {
- game.troops[game.selected] += v
+ game.troops[game.selected] = v
game.selected = -1
game.state = "setup"
},