Allow late Sapho priority before final battle settlement
Fresh Richese-roster battles support clean aggressor changes after plans and revelation. Both combatants explicitly finish a public final opportunity regardless of held cards or result; an actual Sapho use clears both marks with a fresh event. Close priority before physical Stone allocation and other outcome settlement. Preserve plans, votes, participants, Habbanya priority and reserved physical cards. Keep old unstamped timing and discard signature bytes. Route all final vote exits through native Homeworld defense first. Add persistent controls and finite minimal bot readiness. Validation:16-file177/177, types/lint/build and eight original-action/rendered-table programmes. Actual cache1 and paid forces use40 Basic/47 Advanced source actions; genuine Stone1 turn1/Sapho1 turn2 uses86. Ordinary and mixed count2 ties change through sealed-plan/final-window Sapho, explicit revised acknowledgements and native losses. Sixteen minimal proposals are legal; controlled reservation and pure window/control cases are separate. Bounded review fixed the Harkonnen Nexus final-vote route; frozen feedback corrected four historical fixture assumptions. All checks then passed together. Final-window protocol is provisional. Direct late Semuta claim/capture, combined World/Nexus/Sapho, wider combinations, full modes, final assurance and browser/deployed acceptance remain open. No saved-room/database/reset/restart/deployment operation.
This commit is contained in:
1 parent
cb13a4d674
commit
84200ebc74
24 files changed
+1023
-40
No files matched your search
@@ -57,13 +57,16 @@ void test('an unchosen allied Prescience prompt allows early Sapho but an actual
|
||||
assert.equal(inspecting.battle!.preLeader!.closed,false);
|
||||
assert.deepEqual(viewGame(inspecting,'b').saphoOptions,[]);reject(inspecting,'b',action);
|
||||
});
|
||||
void test('early priority feeds Stone pre-commit finishability before any hidden opposing plan exists',()=>{
|
||||
void test('legacy early priority feeds Stone pre-commit finishability before any hidden opposing plan exists',()=>{
|
||||
const initial=saphoAggressorGame({advanced:true,holder:'a'},g=>{
|
||||
g.order=['b','a','c','r'];g.active='b';
|
||||
const a=g.players[0],b=g.players[1];a.forces={'carthag:11':2};a.reserves=18;
|
||||
a.elites!.forces={'carthag:11':1};a.elites!.reserves=4;
|
||||
b.forces={'carthag:11':1};b.reserves=19;takeSaphoBattleCard(g,'b','richese-stone-burner');
|
||||
});
|
||||
// Explicit historical unstamped Stone protocol; fresh physical allocation is
|
||||
// covered by the original paid Stone/Sapho programmes.
|
||||
delete initial.battle!.stoneAllocationVersion;
|
||||
assert.equal(initial.battle!.attacker,'b');
|
||||
const plan={type:'battlePlan',dial:0,support:0,leader:initial.players[1].leaders[0].id,weapon:'richese-stone-burner'};
|
||||
// Original Guild tie priority makes every opposing allocation finishable.
|
||||
|
||||
Reference in new issue
Block a user