summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-12-15 18:19:40 +0100
committerTor Andersson <tor@ccxvii.net>2024-01-08 16:36:48 +0100
commit72b10675a9a6db9ca89169707de33f8048119e72 (patch)
tree60388b3219b30f812f390fd2afe5ecb75170f79d
parent508efabb4e9aa56aadb1f11d8590a87cd4fbde3e (diff)
downloadtable-battles-72b10675a9a6db9ca89169707de33f8048119e72.tar.gz
Fleurus.
-rw-r--r--rules.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index f3ff4b2..b7d99b7 100644
--- a/rules.js
+++ b/rules.js
@@ -263,6 +263,11 @@ const S35_AULDEARN = find_scenario(35)
const S35_MONTROSE = find_card(35, "Montrose")
const S35_GORDON = find_card(35, "Gordon")
+const S38_FLEURUS = find_scenario(38)
+const S38_RETREAT_TO_NIVELLES = find_card(38, "Retreat to Nivelles")
+const S38_LUXEMBOURGS_HORSE = find_card(38, "Luxembourg's Horse")
+const S38_GOURNAYS_HORSE = find_card(38, "Gournay's Horse")
+
const S39_MARSAGLIA = find_scenario(39)
const S39_CANNONS = find_card(39, "Cannons")
const S39_EUGENE = find_card(39, "Eugene")
@@ -2113,6 +2118,14 @@ states.action = {
retire(c) {
push_undo()
retire_card(c)
+
+ if (game.scenario === S38_FLEURUS) {
+ if (c === S38_LUXEMBOURGS_HORSE) {
+ if (is_card_in_play(S38_GOURNAYS_HORSE))
+ move_all_sticks(S38_LUXEMBOURGS_HORSE, S38_GOURNAYS_HORSE)
+ }
+ }
+
end_action_phase()
},
a1(c) {