diff options
-rw-r--r-- | rules.js | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -6641,15 +6641,11 @@ states.vm_shock_therapy = { clear_undo()
let roll = Math.floor(Math.random() * 6) + 1
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 && (spaces[space.space_id].socio === 3 || spaces[space.space_id].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) {
@@ -8036,7 +8032,7 @@ CODE[93] = [ // Shock Therapy* [ vm_shock_therapy ],
[ vm_valid_spaces_country ],
[ vm_prompt, ()=>` to ${country_name(game.vm_active_country)}` ],
- [ vm_add_infl, 3 ],
+ [ vm_add_infl_free, 3 ],
[ vm_permanently_remove ],
[ vm_return ],
]
|