diff options
-rw-r--r-- | rules.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -6166,12 +6166,14 @@ states.minefield = { prompt() { view.prompt = `Buildup: Build a minefield.` let mfs = friendly_minefields() - let net = friendly_buildup_network() if (mfs.length >= 2) gen_action('dismantle') - for (let x of all_hexes) - if (net[x] && !is_battle_hex(x) && !set_has(mfs, x)) - gen_action_hex(x) + if (available_bps() >= 15) { + let net = friendly_buildup_network() + for (let x of all_hexes) + if (net[x] && !is_battle_hex(x) && !set_has(mfs, x)) + gen_action_hex(x) + } }, dismantle() { push_undo() |