summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2024-11-07 21:28:52 +0100
committerteisuru <31881306+teisuru@users.noreply.github.com>2024-11-07 22:34:23 +0100
commit91ed031f500e18f13ac90a3f54b47fbc77d07bd3 (patch)
tree4211aebac5fc8bae8caa95c818a5ae7bca4cb211 /rules.ts
parente00b34d7eb354549e2229858a2daafee48a3d0b3 (diff)
downloadplantagenet-91ed031f500e18f13ac90a3f54b47fbc77d07bd3.tar.gz
fix Welshmen, Northmen and Southmen
Fix Welshmen, Northmen and Southmen to only apply during Tides of War. This fixes the behavior of Jack Cade when it checks domination during Muster.
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/rules.ts b/rules.ts
index 7f45b6e..964c82c 100644
--- a/rules.ts
+++ b/rules.ts
@@ -1946,7 +1946,7 @@ function is_lancaster_dominating_north() {
if (has_lancaster_favour(loc))
n++
let cap_lord = find_lord_with_capability_card(AOW_LANCASTER_NORTHMEN)
- if (is_lancaster_lord(cap_lord) && is_north(get_lord_locale(cap_lord)))
+ if (!is_levy_phase() && is_lancaster_lord(cap_lord) && is_north(get_lord_locale(cap_lord)))
return n >= 3
return n >= all_north_locales.length
}
@@ -1957,7 +1957,7 @@ function is_york_dominating_south() {
if (has_york_favour(loc))
n++
let cap_lord = find_lord_with_capability_card(AOW_YORK_SOUTHERNERS)
- if (is_york_lord(cap_lord) && is_south(get_lord_locale(cap_lord)))
+ if (!is_levy_phase() && is_york_lord(cap_lord) && is_south(get_lord_locale(cap_lord)))
return n >= 5
return n >= all_south_locales.length
}
@@ -1976,7 +1976,7 @@ function is_york_dominating_wales() {
if (has_york_favour(loc))
n++
let cap_lord = find_lord_with_capability_card(AOW_YORK_WELSHMEN)
- if (is_york_lord(cap_lord) && is_wales(get_lord_locale(cap_lord)))
+ if (!is_levy_phase() && is_york_lord(cap_lord) && is_wales(get_lord_locale(cap_lord)))
return n >= 3
return n >= all_wales_locales.length
}