summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-24 14:00:34 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-24 14:00:34 +0100
commit9a37e3b7896387cdbda33ceb52f46e1bb68f1960 (patch)
treed4f7a8a65a8555bf323a63f6db6ea103269011d6
parenta61971dc826fb451e5b72d52d345a048166b3e52 (diff)
download1989-dawn-of-freedom-9a37e3b7896387cdbda33ceb52f46e1bb68f1960.tar.gz
Fix TST attempt when already in last box
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index b50ecad..847e0e6 100644
--- a/rules.js
+++ b/rules.js
@@ -540,7 +540,7 @@ states.play_card ={
gen_action('opp_event')
}
gen_action('influence')
- if (game.active === DEM && game.dem_tst_attempted_this_turn === 0 || game.active === COM && game.com_tst_attempted_this_turn === 0) {
+ if (game.active === DEM && game.dem_tst_attempted_this_turn === 0 && game.dem_tst_position <=8 || game.active === COM && game.com_tst_attempted_this_turn === 0 && game.com_tst_position <= 8) {
gen_action('tst')
}
gen_action('support_check')