summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js16
1 files changed, 13 insertions, 3 deletions
diff --git a/rules.js b/rules.js
index 46c727e..9446d70 100644
--- a/rules.js
+++ b/rules.js
@@ -1385,8 +1385,6 @@ states.end_strategy_card = {
function next_strategy_card() {
clear_undo()
- game.card = 0
-
if (!has_flag(F_FRENCH_ALLIANCE_TRIGGERED) && game.french_alliance === 9) {
log("The French signed an alliance with the Americans!")
set_flag(F_FRENCH_ALLIANCE_TRIGGERED)
@@ -1401,6 +1399,18 @@ function next_strategy_card() {
reset_moved_generals()
reset_moved_cu()
+ // Tournament rule for DoI and Franklin events
+ if (CARDS[game.card].tournament && game.active === P_BRITAIN) {
+ game.card = 0
+ log_br()
+ log("Tournament Rule!")
+ log("British replacement card.")
+ set_add(game.b_hand, deal_card())
+ goto_strategy_phase(game.active)
+ return
+ }
+
+ game.card = 0
goto_strategy_phase(ENEMY[game.active])
}
@@ -3228,7 +3238,7 @@ function advance_french_alliance(count) {
game.french_alliance += count
if (game.french_alliance > 9)
game.french_alliance = 9
- log("French Alliance advanced to " + count + ".")
+ log("French Alliance advanced to " + game.french_alliance + ".")
}
}