From 6da4406e2e959f52ad9fcb1f5627f87c48e5c148 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 25 Apr 2023 23:33:55 +0200 Subject: Only Air Strike in LoC and Dept. --- rules.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/rules.js b/rules.js index 2adce9a..5ac7ec6 100644 --- a/rules.js +++ b/rules.js @@ -4866,10 +4866,12 @@ states.air_strike = { view.prompt = "Air Strike: Destroy exposed Insurgent unit." let manpad = has_momentum(MOM_MISIL_ANTIAEREO) for (let s = first_space; s <= last_space; ++s) { - if (!manpad || !has_any_guerrilla(s)) { - gen_exposed_piece(s, FARC) - gen_exposed_piece(s, AUC) - gen_exposed_piece(s, CARTELS) + if (is_loc(s) || is_dept(s)) { + if (!manpad || !has_any_guerrilla(s)) { + gen_exposed_piece(s, FARC) + gen_exposed_piece(s, AUC) + gen_exposed_piece(s, CARTELS) + } } } }, -- cgit v1.2.3