Support Sapho ordering for Great Maker votes
Verify and publish checkpoint container / container (push) Successful in 11m14s

This commit is contained in:
Quintine committed 2026-11-16 21:32:53 +11:00
1 parent e81725e4b2
commit 77d02b3231
18 files changed
+798 -21

No files matched your search

+6
View File
@@ -4382,6 +4382,12 @@ function botAdvisorMatchingAllowed(g:GameView,action:Action) {
} catch(error) { if(error instanceof AdvisorMatchingError) return false; throw error; }
}
export function botActions(g: GameView): Action[] {
if (g.saphoGreatMakerPriority) {
const own = g.players.find(player => player.id === g.me), priority = g.saphoGreatMakerPriority;
return (own?.bot || own?.autopilot) && g.status === 'playing' && priority.canPass &&
!g.roomControl?.paused && !g.roomControl?.closed && !g.automaticContinuationPending
? [{type:'saphoGreatMakerPass', event:priority.event}] : [];
}
if (g.emperorGuildRatePriority) {
const me = g.players.find(player => player.id === g.me);
return (me?.bot || me?.autopilot) && g.emperorGuildRatePriority.canContinue &&