diff options
-rw-r--r-- | rules.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6643,11 +6643,13 @@ states.vm_shock_therapy = { log(`Rolled a ${roll}`)
console.log('game.pieces', game.pieces)
for (let space of game.pieces) {
+ if (space) {
console.log('checking space', spaces[space.space_id].country, game.vm_active_country, space.comCtrl, space.socio )
if (space && spaces[space.space_id].country === game.vm_active_country && space.comCtrl === 1 && (space.socio === 3 || space.socio === 4)) {
game.temp++
}
}
+ }
log(`-${game.temp} from Communist controlled Worker and Farmer spaces`)
log(`Modified roll: ${roll - game.temp}`)
if ((roll - game.temp) > 2) {
|