Implement Tleilaxu and Ixian Nexus Cunning with durable private recovery

This commit is contained in:
Quintine committed 2026-09-10 10:49:18 +10:00
1 parent d5830d260c
commit 40912498b1
32 files changed
+2761 -24

No files matched your search

+4 -2
View File
@@ -89,6 +89,7 @@ function allOpposingTotals(
forces.elite,
forces.eliteStrength,
!!forces.normalFixedHalf,
!!forces.normalFreeSupport,
forces.freeSupport,
!!forces.eliteFreeSupport,
].join(':');
@@ -96,11 +97,12 @@ function allOpposingTotals(
if (cached) return cached;
const result: number[][] = [];
const maximumHalfDial =
forces.normal * (forces.normalFixedHalf ? 1 : 2) +
forces.normal *
(forces.normalFixedHalf && !forces.normalFreeSupport ? 1 : 2) +
forces.elite * forces.eliteStrength * 2;
const maximumSupport = forces.freeSupport
? 0
: (forces.normalFixedHalf ? 0 : forces.normal) +
: (forces.normalFixedHalf || forces.normalFreeSupport ? 0 : forces.normal) +
(forces.eliteFreeSupport ? 0 : forces.elite);
// Use the same legality and typed-support arithmetic as sealed plans. Cache
// public pool results so repeated preflights do not repeat this enumeration.