diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-23 18:22:37 +0100 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-09-23 18:22:37 +0100 |
commit | 37b13d1963e09d02fac3d8b49b83b6c18dea0d40 (patch) | |
tree | 9c9c0d6c32be536ba539af68a17fe7ccdbaff1e9 | |
parent | cb2b8912e6b1b3ab721a71557ce44d8bbe20ee6b (diff) | |
download | 1989-dawn-of-freedom-37b13d1963e09d02fac3d8b49b83b6c18dea0d40.tar.gz |
Fix to TST awards
-rw-r--r-- | rules.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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');
|