From e53604ad8fe138be665cd20c4f48fb12b3ebc19a Mon Sep 17 00:00:00 2001 From: iainp5 Date: Fri, 1 Nov 2024 21:35:05 +0000 Subject: Fix Malta Summit when at max stability track --- rules.js | 4 ++-- 1 file 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') -- cgit v1.2.3