summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index c0c3bca..0625fc9 100644
--- a/rules.js
+++ b/rules.js
@@ -5020,6 +5020,13 @@ function add_battle_capability_troops() {
if (lord_has_capability(lord, AOW_YORK_PERCYS_NORTH2) && can_supply_at(LOC_CARLISLE, 0)) {
add_lord_forces(lord, MILITIA, 4)
}
+ if (is_lord_on_map(lord) &&
+ !is_lord_on_calendar(lord) &&
+ lord_has_capability(lord, AOW_LANCASTER_PHILIBERT_DE_CHANDEE) &&
+ (((is_friendly_locale(data.locales[here])) && data.port_2.includes(here)) ||
+ is_adjacent_friendly_port_english_channel(here))) {
+ add_lord_forces(lord, MEN_AT_ARMS, 2)
+ }
}
}
@@ -5047,6 +5054,13 @@ function remove_battle_capability_troops() {
if (lord_has_capability(lord, AOW_YORK_PERCYS_NORTH2) && can_supply_at(LOC_CARLISLE, 0)) {
add_lord_forces(lord, MILITIA, -4)
}
+ if (is_lord_on_map(lord) &&
+ !is_lord_on_calendar(lord) &&
+ lord_has_capability(lord, AOW_LANCASTER_PHILIBERT_DE_CHANDEE) &&
+ (((is_friendly_locale(data.locales[here])) && data.port_2.includes(here)) ||
+ is_adjacent_friendly_port_english_channel(here))) {
+ add_lord_forces(lord, MEN_AT_ARMS, -2)
+ }
}
}