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-01 21:35:05 +0000 |
commit | f9512f66f3fbca1fb3f92549588e84f410deb77a (patch) | |
tree | 4ca3070bc8ca5cfb6a228aa9f52866e87c4c305b /rules.js | |
parent | 23ca7e8de0d66aa9ac65980fa016a7a94cfde7e5 (diff) | |
download | 1989-dawn-of-freedom-f9512f66f3fbca1fb3f92549588e84f410deb77a.tar.gz |
Fix Malta Summit when at max stability track
Diffstat (limited to 'rules.js')
-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') |