diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-20 11:04:44 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-20 11:04:44 +0200 |
commit | 6eaf48c560411a79d8e887b770ca5ae005b5d292 (patch) | |
tree | 92c72d21414f2a0baf4a049550d815d6472f8614 | |
parent | a8b40c2aa493180c555953168cf58c46015595f2 (diff) | |
download | plantagenet-6eaf48c560411a79d8e887b770ca5ae005b5d292.tar.gz |
Chevaliers only affects missile step.
-rw-r--r-- | rules.js | 9 | ||||
-rw-r--r-- | rules.ts | 9 | ||||
-rw-r--r-- | tools/gendata.js | 2 |
3 files changed, 13 insertions, 7 deletions
@@ -6693,9 +6693,12 @@ function get_modified_protection(lord, force) { protection = 2; } } - if (lord_has_capability(lord, AOW_LANCASTER_CHEVALIERS)) - if (force === MEN_AT_ARMS) - protection--; + if (lord_has_capability(lord, AOW_LANCASTER_CHEVALIERS)) { + if (force === MEN_AT_ARMS) { + if (is_missiles_step()) + protection--; + } + } return protection; } function is_yeomen_of_the_crown_triggered(lord, type) { @@ -7862,9 +7862,12 @@ function get_modified_protection(lord: Lord, force: Force) { } } - if (lord_has_capability(lord, AOW_LANCASTER_CHEVALIERS)) - if (force === MEN_AT_ARMS) - protection -- + if (lord_has_capability(lord, AOW_LANCASTER_CHEVALIERS)) { + if (force === MEN_AT_ARMS) { + if (is_missiles_step()) + protection -- + } + } return protection } diff --git a/tools/gendata.js b/tools/gendata.js index 78cf893..912b125 100644 --- a/tools/gendata.js +++ b/tools/gendata.js @@ -1241,7 +1241,7 @@ arts_of_war_event("L16", "Warden of the Marches", "hold") arts_of_war_event("L17", "My crown is in my heart", "this_levy") arts_of_war_event("L18", "Parliament Votes", "this_levy") arts_of_war_event("L19", "Henry's Proclamation", "now") -arts_of_war_event("L20", "Parliament Truce", "hold") +arts_of_war_event("L20", "Parliament's Truce", "hold") arts_of_war_event("L21", "French Fleet", "this_campaign") arts_of_war_event("L22", "French Troops", "now") arts_of_war_event("L23", "Warwick's Propaganda", "now") |