diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-09-09 16:35:58 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-09-09 16:35:58 +0200 |
commit | 1b0bd72a8fc736b05031c28d3f19f2d57fdd1d52 (patch) | |
tree | 79cb464ce7948d57fa2306eb86e1028e21d7a4b8 | |
parent | cb0cb8fc36758ac4d80e59ad7f6b0051cc7aa98c (diff) | |
download | plantagenet-1b0bd72a8fc736b05031c28d3f19f2d57fdd1d52.tar.gz |
suspicion: allow targeting enemy lords in reserve.
-rw-r--r-- | rules.js | 3 | ||||
-rw-r--r-- | rules.ts | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -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(); @@ -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() |