Connect provisional Basic mixed Richese No-Field battles

This commit is contained in:
Quintine committed 2026-10-08 09:02:10 +11:00
1 parent d3a09a95fe
commit 2ede6b55ea
9 files changed
+98 -31

No files matched your search

+4 -4
View File
@@ -3260,7 +3260,7 @@ function policyActions(g: GameView): Action[] {
: null;
if (
reveal &&
(physicalAlongsideMarker ||
((g.advanced && physicalAlongsideMarker) ||
!me.shipped ||
(me.moved ?? 0) >= (me.movesAllowed ?? 1))
)
@@ -3268,7 +3268,7 @@ function policyActions(g: GameView): Action[] {
const markerTargets = targets.filter(
(to) =>
to.t !== MOBILE_STRONGHOLD &&
countAt(me, to.t) === 0 &&
(!g.advanced || countAt(me, to.t) === 0) &&
!territoryEntryBlock(g.players, me.id, to.t),
);
if (noField?.canShip && ownNoField && !marker && !me.shipped) {
@@ -3374,7 +3374,7 @@ function policyActions(g: GameView): Action[] {
(me.faction !== 'fremen' || fremenReserveEntry(to.t)),
)
.slice(0, 24)) {
if (marker?.location.territory === to.t) continue;
if (g.advanced && marker?.location.territory === to.t) continue;
const desired = Math.min(
me.reserves,
level === 0 ? (quoteSmugglerShipment(g, me.id, to.t, 2) ? 2 : 1) : Math.max([1, 3, 4, 5][level], to.enemy + 2),
@@ -3506,7 +3506,7 @@ function policyActions(g: GameView): Action[] {
for (const to of targets
.filter(
(to) =>
marker?.location.territory !== to.t &&
(!g.advanced || marker?.location.territory !== to.t) &&
movingSources.some((source) =>
botGroundMoveAllowed(g, me, source.from, to.key, source.elite),
),