diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-10 21:58:16 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-10 21:58:16 +0000 |
commit | 97656ab8c2b6a97f2616afa468bc002f1b85af40 (patch) | |
tree | 9d44f5fc1933bc399631cf328f1737af0c9da624 /rules.js | |
parent | c41b9834c835555c8a595ae88af630da2e357537 (diff) | |
download | 1989-dawn-of-freedom-97656ab8c2b6a97f2616afa468bc002f1b85af40.tar.gz |
TST results in boxes
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2838,7 +2838,7 @@ function do_tst_attempt() { if (game.active === DEM) { game.dem_tst_attempted_this_turn = 1 if (roll >= dem_tst_req[game.dem_tst_position]) { - log(`Success: ${roll} >= ${dem_tst_req[game.dem_tst_position]}`) + log(`Success: ${roll} >= .dT${dem_tst_req[game.dem_tst_position]}`) game.dem_tst_position++ game.dem_tst_attempted = 0 @@ -2866,14 +2866,14 @@ function do_tst_attempt() { } game.state = 'tiananmen_square_attempt_success' } else { - log(`Fail: ${roll} < ${dem_tst_req[game.dem_tst_position]}`) + log(`Fail: ${roll} < .dT${dem_tst_req[game.dem_tst_position]}`) game.dem_tst_attempted = 1 game.state = 'tiananmen_square_attempt_fail' } } else { game.com_tst_attempted_this_turn = 1 if (roll >= com_tst_req[game.com_tst_position]) { - log(`Success: ${roll} >= ${com_tst_req[game.com_tst_position]}`) + log(`Success: ${roll} >= .cT${com_tst_req[game.com_tst_position]}`) game.com_tst_position++ game.com_tst_attempted = 0 @@ -2905,7 +2905,7 @@ function do_tst_attempt() { } game.state = 'tiananmen_square_attempt_success' } else { - log(`Fail: ${roll} < ${com_tst_req[game.com_tst_position]}`) + log(`Fail: ${roll} < .cT${com_tst_req[game.com_tst_position]}`) game.com_tst_attempted = 1 game.state = 'tiananmen_square_attempt_fail' } @@ -5013,7 +5013,7 @@ function vm_do_remove_x_infl(space) { } } } - let end = check_control(space) + let end_control = check_control(space) logi(`${game.vm_available_ops} from %${space}${get_icons(starting_control, end_control)}`) check_tyrant() game.vm_available_ops = 0 |