summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriainp5 <iain.pearce.ip@gmail.com>2024-11-22 15:16:26 +0000
committeriainp5 <iain.pearce.ip@gmail.com>2024-11-22 15:16:26 +0000
commitba66612d0d7e092a3b7b1dc91f1b39d00182029f (patch)
tree3baa899083087c2c9be5db0a9c5bb4215ea8215d
parent94f9cbdf3256ddc92525769d4e418217631b7886 (diff)
download1989-dawn-of-freedom-ba66612d0d7e092a3b7b1dc91f1b39d00182029f.tar.gz
Fix Shock Therapy VPs
-rw-r--r--rules.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index dec489d..757df1c 100644
--- a/rules.js
+++ b/rules.js
@@ -7232,6 +7232,10 @@ states.vm_shock_therapy = {
log(`Modified roll: ${Math.max(roll - worker_farmer, 0)}`)
if ((roll - worker_farmer) > 2) {
log('C93 is successful. +3 VP')
+ game.vp += 3
+ if (check_vp()) {
+ return
+ }
vm_next()
} else {
log('C93 is unsuccessful. Required 3 or more')