diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-01 21:35:05 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-02 08:22:06 +0000 |
commit | e53604ad8fe138be665cd20c4f48fb12b3ebc19a (patch) | |
tree | 7542e195543b85b727b695edcd17ff20668b2239 | |
parent | cba31c4958fb137fe45bad52d1965038022b35ea (diff) | |
download | 1989-dawn-of-freedom-e53604ad8fe138be665cd20c4f48fb12b3ebc19a.tar.gz |
Fix Malta Summit when at max stability track
-rw-r--r-- | rules.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6732,8 +6732,8 @@ states.vm_malta_summit = { let roll = roll_d6() log(`Roll: D${roll}`) if (game.stability > 0) { - logi(`+${game.stability} from USSR Stability Track`) - log(`Modified roll: ${roll + game.stability}`) + logi(`+${Math.min(game.stability, 3)} from USSR Stability Track`) + log(`Modified roll: ${roll + Math.min(game.stability, 3)}`) } if (roll + game.stability > 3) { log('Summit successful') |