summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-09-23 18:22:37 +0100
committeriainp5 <iain.pearce.ip@gmail.com>2024-09-23 18:22:37 +0100
commit37b13d1963e09d02fac3d8b49b83b6c18dea0d40 (patch)
tree9c9c0d6c32be536ba539af68a17fe7ccdbaff1e9
parentcb2b8912e6b1b3ab721a71557ce44d8bbe20ee6b (diff)
download1989-dawn-of-freedom-37b13d1963e09d02fac3d8b49b83b6c18dea0d40.tar.gz
Fix to TST awards
-rw-r--r--rules.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index fc1f037..48d72a5 100644
--- a/rules.js
+++ b/rules.js
@@ -2603,6 +2603,14 @@ function do_tst_attempt() {
roll ++;
log('+1 modifier from previous Tiananmen Square Track attempts')
}
+ if (game.active === DEM && game.dem_tst_position >= 1 && game.com_tst_position === 0) {
+ roll ++
+ log('+1 from TST award')
+ }
+ if (game.active === COM && game.com_tst_position >= 1 && game.dem_tst_position === 0) {
+ roll ++
+ log('+1 from TST award')
+ }
if ((game.active === DEM && cards[game.played_card].side === 'D') || (game.active === COM && cards[game.played_card].side === 'C')) {
roll ++;
log('+1 for playing own card');