summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-04-25 23:33:55 +0200
committerTor Andersson <tor@ccxvii.net>2023-05-03 18:48:16 +0200
commit6da4406e2e959f52ad9fcb1f5627f87c48e5c148 (patch)
tree11b3566047da40920c429eb1a55b4c6a9644db8c
parent7ac4ee43314c20d5da560d32d2f2b39507a7305a (diff)
downloadandean-abyss-6da4406e2e959f52ad9fcb1f5627f87c48e5c148.tar.gz
Only Air Strike in LoC and Dept.
-rw-r--r--rules.js10
1 files 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)
+ }
}
}
},