diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-30 18:35:05 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-12-30 18:35:05 +0000 |
commit | ce688b2467ec17a25e0b74c4489ce495362717bf (patch) | |
tree | eddad551770131814d4ac23f772d346b0644ab14 /rules.js | |
parent | bcfeae6aae60a00bcad970dd658363924cfb7056 (diff) | |
download | 1989-dawn-of-freedom-ce688b2467ec17a25e0b74c4489ce495362717bf.tar.gz |
consistent use of 'from' in roll modifiers
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -6729,10 +6729,10 @@ states.vm_adamec = { roll() { clear_undo() let roll = roll_d6() - logi(`D${roll} from roll`) + logi(`D${roll}`) let worker_spaces = spaces.filter(space => space && space.country === 'Czechoslovakia' && space.socio === SOCIO_WORKER && check_dem_control(space.space_id)).length if (worker_spaces > 0) { - logi(`-${worker_spaces} from Democrat controlled worker spaces`) + logi(`-${worker_spaces} Democrat controlled worker spaces`) roll -= worker_spaces } if (roll > 2) { @@ -7579,9 +7579,9 @@ states.vm_malta_summit = { roll() { clear_undo() let roll = roll_d6() - logi(`D${roll} from roll`) + logi(`D${roll}`) if (game.stability > 0) { - logi(`+${Math.min(game.stability, 3)} from USSR Stability Track`) + logi(`+${Math.min(game.stability, 3)} USSR Stability Track`) } if (roll + game.stability > 3) { log(`Success: ${roll + game.stability} >= 4`) @@ -7865,8 +7865,8 @@ states.vm_shock_therapy = { worker_farmer++ } } - logi(`D${roll} from roll`) - logi(`-${worker_farmer} from Communist controlled Worker and Farmer spaces`) + logi(`D${roll}`) + logi(`-${worker_farmer} Communist controlled Worker and Farmer spaces`) if ((roll - worker_farmer) > 2) { log(`Success: ${roll - worker_farmer} >= 3`) log('+3 VP') @@ -8251,13 +8251,13 @@ states.vm_workers_revolt_finish = { roll() { clear_undo() let roll = roll_d6() - logi(`D${roll} from roll`) + logi(`D${roll}`) let adj = count_adj(game.selected_space) if (game.active === DEM) { - logi(`-${adj.com_adj} from opponent controlled spaces`) + logi(`-${adj.com_adj} opponent controlled spaces`) roll -= adj.com_adj } else { - logi(`-${adj.dem_adj} from opponent controlled spaces`) + logi(`-${adj.dem_adj} opponent controlled spaces`) roll -= adj.dem_adj } if (roll >= 4) { |