Open native advisor preparation before the first shipment
Allow Advanced BG preparation in phases2–5 at quiet boundaries, preserving original phase/auction/readiness and native eligibility. Close a current-turn receipt only on committed shipments, including marker and Sneak Attack entry. Retain the legacy phase5 queue and qualify the per-territory prevention policy. Connect persistent controls, minimal bot support and focused native evidence. Complete modes and browser/deployed acceptance remain open.
This commit is contained in:
1 parent
0e3d6a250e
commit
660b0a0c25
18 files changed
+1269
-13
No files matched your search
@@ -3084,6 +3084,14 @@ function policyActions(g: GameView): Action[] {
|
||||
}
|
||||
return g.ready.includes(me.id) ? [] : [{ type: 'ready' }];
|
||||
}
|
||||
// Reuse the native advisor-decision preference; eligibility comes only from
|
||||
// the shared current-window projection, including first actual shipment.
|
||||
if (level > 0 && g.advisorPreparation && !g.advisorPreparation.blocked) {
|
||||
const territory = g.advisorPreparation.territories.find(t => g.players
|
||||
.filter(p => p.id !== me.id && p.id !== me.ally)
|
||||
.every(p => fighterCount(p, t) < countAt(me, t)));
|
||||
if (territory) return [{ type: 'prepareAdvisors', territory }];
|
||||
}
|
||||
if (
|
||||
g.phase === 2 &&
|
||||
!me.charityClaimed &&
|
||||
|
||||
Reference in new issue
Block a user