diff options
author | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-14 18:02:14 +0000 |
---|---|---|
committer | iainp5 <iain.pearce.ip@gmail.com> | 2025-01-14 18:02:14 +0000 |
commit | 93b5e0609163dcf54d029a6e894dbd9333d588c4 (patch) | |
tree | bf25efc3b1e67c56c6f40e3c32f5e406374e9a06 | |
parent | 00064f2b6dfd39cefa80f804662c47bbe84ad2e6 (diff) | |
download | 1989-dawn-of-freedom-93b5e0609163dcf54d029a6e894dbd9333d588c4.tar.gz |
Add conditional autoresolve for Honecker
-rw-r--r-- | rules.js | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -3390,7 +3390,15 @@ function is_auto_resolve(card) { } return true } - } else { + } else if (card === C_HONECKER) { + if (game.discard.length === 0) { + if (!game.state.startsWith('vm')) { + log('No cards in discard.') + } + return true + } + } + else { return false } } |