From 37b13d1963e09d02fac3d8b49b83b6c18dea0d40 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 23 Sep 2024 18:22:37 +0100 Subject: Fix to TST awards --- rules.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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'); -- cgit v1.2.3