diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-29 20:46:39 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-04-29 20:46:39 +0200 |
commit | 618b0908a7fe355eb87646ffae1ab5c78a57fe7c (patch) | |
tree | 2088198fc299fd573b124f0ff18f815354ae96ac /rules.ts | |
parent | 1503e53dc669d45aeee833432580eedbace93962 (diff) | |
download | plantagenet-618b0908a7fe355eb87646ffae1ab5c78a57fe7c.tar.gz |
relax can lord muster check
Diffstat (limited to 'rules.ts')
-rw-r--r-- | rules.ts | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -2898,19 +2898,7 @@ function end_muster() { } function can_lord_muster(lord: Lord) { - if (get_lord_moved(lord)) - return false - - // must be on map - if (is_lord_on_map(lord)) { - // can use lordship - if (is_lord_at_friendly_locale(lord)) - return true - // can only parley - if (can_parley_at(get_lord_locale(lord))) - return true - } - return false + return is_lord_on_map(lord) && !get_lord_moved(lord) } function has_locale_to_muster(lord: Lord) { |