diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2024-12-11 09:46:29 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-12-17 19:13:06 +0100 |
commit | 3d1cd8b9569b3257938deccd64f931fc61fbde7a (patch) | |
tree | aefc11416240f94e8a8e58191673b0926ca284ee | |
parent | 72595561e3c14688b285e59511aecb50b47e9f0d (diff) | |
download | plantagenet-3d1cd8b9569b3257938deccd64f931fc61fbde7a.tar.gz |
-rw-r--r-- | rules.js | 2 | ||||
-rw-r--r-- | rules.ts | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -2822,7 +2822,7 @@ states.levy_lord_at_seat = { if (!found) { for (let lord of all_friendly_lords()) { let seat = get_lord_seat(lord); - if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && is_friendly_locale(seat)) { + if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && (is_friendly_locale(seat) && !has_enemy_lord(seat))) { if (is_move_allowed(game.who, seat)) gen_action_locale(seat); } @@ -3466,7 +3466,7 @@ states.levy_lord_at_seat = { if (!found) { for (let lord of all_friendly_lords()) { let seat = get_lord_seat(lord) - if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && is_friendly_locale(seat)) { + if ((is_lord_on_map(lord) || is_lord_on_calendar(lord)) && (is_friendly_locale(seat) && !has_enemy_lord(seat))) { if (is_move_allowed(game.who, seat)) gen_action_locale(seat) } |