diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-18 11:32:18 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2024-11-18 11:32:18 +0000 |
commit | bb2c17c3402fadc17646f04943ad6e8972cb4498 (patch) | |
tree | f3e4f0c15bb6541209559fa3b9e30f67f6650dc6 | |
parent | 86340132b07a9526f45e5a5a20d4725254b06df2 (diff) | |
download | 1989-dawn-of-freedom-bb2c17c3402fadc17646f04943ad6e8972cb4498.tar.gz |
Remove Dash for the West from auto_resolve
-rw-r--r-- | rules.js | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -3077,12 +3077,7 @@ function is_auto_resolve(card) { if (!game.state.startsWith('vm')) { logi('No SPs to remove') } return true } - } else if (card === C_DASH_FOR_THE_WEST) { - if (!dem_asterisks.some( c => game.strategy_discard.includes(c))) { - if (!game.state.startsWith('vm')) { logi('No Democratic Events with an asterisk in the discard') } - return true - } - } + } else { return false } @@ -8179,10 +8174,8 @@ CODE[35] = [ // Heal our Bleeding Wounds* CODE[36] = [ // Dash for the West* [ vm_permanently_remove ], - [ vm_if, ()=>!is_auto_resolve(C_DASH_FOR_THE_WEST) ], [ vm_prompt, 'Dash for the West: select any Democratic Event with an asterisk(*) from the discard pile. Event occurs immediately' ], [ vm_dash_for_the_west ], - [ vm_endif ], [ vm_return ], ] |