diff options
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1112,11 +1112,23 @@ states.choose_medallion = { prompt() { gen_spend_hero_points(); view.prompt = 'Claim a Medallion.'; + const faction = get_active_faction(); + var skip = true; for (let m of game.medallions[POOL_ID]) { - if (m !== null) - gen_action_medallion(m); + if (m !== null) { + if (m === data_1.MOMENTUM_MEDALLION_ID) { + if (game.hands[faction].length > game.selected_cards[faction].length) { + gen_action_medallion(m); + skip = false; + } + } + else { + gen_action_medallion(m); + skip = false; + } + } } - if (!game.medallions[POOL_ID].some((m) => m !== null)) { + if (skip) { gen_action('skip'); } }, |