summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rules.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules.js b/rules.js
index 61a12de..182b59f 100644
--- a/rules.js
+++ b/rules.js
@@ -6640,12 +6640,12 @@ states.vm_shock_therapy = {
roll() {
clear_undo()
let roll = Math.floor(Math.random() * 6) + 1
- log(`Rolled a ${roll}`)
for (let space of game.pieces) {
if (space && spaces[space.space_id].country === game.vm_active_country && space.comCtrl === 1 && (spaces[space.space_id].socio === 3 || spaces[space.space_id].socio === 4)) {
game.temp++
}
}
+ log(`Rolled a ${roll}`)
log(`-${game.temp} from Communist controlled Worker and Farmer spaces`)
log(`Modified roll: ${roll - game.temp}`)
if ((roll - game.temp) > 2) {