From 1b0bd72a8fc736b05031c28d3f19f2d57fdd1d52 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 9 Sep 2024 16:35:58 +0200 Subject: suspicion: allow targeting enemy lords in reserve. --- rules.js | 3 +++ rules.ts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rules.js b/rules.js index 9f14902..717b050 100644 --- a/rules.js +++ b/rules.js @@ -5650,6 +5650,9 @@ states.suspicion_3 = { for (let lord of game.battle.array) if (is_enemy_lord(lord) && get_lord_influence(lord) < highest) gen_action_lord(lord); + for (let lord of game.battle.reserves) + if (is_enemy_lord(lord) && get_lord_influence(lord) < highest) + gen_action_lord(lord); }, lord(lord) { push_undo(); diff --git a/rules.ts b/rules.ts index 311425b..14df1e5 100644 --- a/rules.ts +++ b/rules.ts @@ -6697,6 +6697,9 @@ states.suspicion_3 = { for (let lord of game.battle.array) if (is_enemy_lord(lord) && get_lord_influence(lord) < highest) gen_action_lord(lord) + for (let lord of game.battle.reserves) + if (is_enemy_lord(lord) && get_lord_influence(lord) < highest) + gen_action_lord(lord) }, lord(lord) { push_undo() -- cgit v1.2.3