summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-01 21:35:05 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-01 21:35:05 +0000
commitf9512f66f3fbca1fb3f92549588e84f410deb77a (patch)
tree4ca3070bc8ca5cfb6a228aa9f52866e87c4c305b /rules.js
parent23ca7e8de0d66aa9ac65980fa016a7a94cfde7e5 (diff)
download1989-dawn-of-freedom-f9512f66f3fbca1fb3f92549588e84f410deb77a.tar.gz
Fix Malta Summit when at max stability track
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 56e31cb..50df92b 100644
--- a/rules.js
+++ b/rules.js
@@ -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')