diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-25 23:33:55 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | 6da4406e2e959f52ad9fcb1f5627f87c48e5c148 (patch) | |
tree | 11b3566047da40920c429eb1a55b4c6a9644db8c /rules.js | |
parent | 7ac4ee43314c20d5da560d32d2f2b39507a7305a (diff) | |
download | andean-abyss-6da4406e2e959f52ad9fcb1f5627f87c48e5c148.tar.gz |
Only Air Strike in LoC and Dept.
Diffstat (limited to 'rules.js')
-rw-r--r-- | rules.js | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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) + } } } }, |