summaryrefslogtreecommitdiff
path: root/rules.ts
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-04-23 01:30:11 +0200
committerTor Andersson <tor@ccxvii.net>2024-04-23 01:30:11 +0200
commita691e3b819ae97fc362f1709182245accf963d75 (patch)
treebd86086335b44fde4273342a3e8715ff0ad4288b /rules.ts
parenta2b06565c5fbc9df9fb770735ba5984a90e76563 (diff)
downloadplantagenet-a691e3b819ae97fc362f1709182245accf963d75.tar.gz
Routed Retinue does no hits.
Diffstat (limited to 'rules.ts')
-rw-r--r--rules.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/rules.ts b/rules.ts
index e3ff72f..42fafdf 100644
--- a/rules.ts
+++ b/rules.ts
@@ -18,14 +18,13 @@
/*
EVENTS and CAPABILITIES trigger - Pass instead of Done
+ Soldiers of Fortune X Rising Wages interaction
+
NAVAL BLOCKADE - for Tax and Tax Collectors
REGROUP - other timing windows
Scenario special rules.
- Ib: Norfolk is Late
- Ib: Test of Arms
-
II: Foreign Haven - Warwick
II: Foreign Haven - Edward IV
II: Shaky Allies
@@ -5384,7 +5383,9 @@ function count_archery_hits(lord: Lord) {
}
function count_melee_hits(lord: Lord) {
- let hits = 3 << 1 // Retinue
+ let hits = 0
+ if (get_lord_forces(lord, RETINUE) > 0)
+ hits += 3 << 1
hits += count_unrouted_vassals_with_lord(lord) << 2
if (lord_has_capability(lord, AOW_LANCASTER_CHEVALIERS))
hits += get_lord_forces(lord, MEN_AT_ARMS) << 2