From bb2c17c3402fadc17646f04943ad6e8972cb4498 Mon Sep 17 00:00:00 2001 From: iainp5 Date: Mon, 18 Nov 2024 11:32:18 +0000 Subject: Remove Dash for the West from auto_resolve --- rules.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rules.js b/rules.js index c11bd23..0f6a747 100644 --- a/rules.js +++ b/rules.js @@ -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 ], ] -- cgit v1.2.3