Check Advanced victory after Mentat actions
Verify and publish checkpoint container / container (push) Successful in 10m42s
Verify and publish checkpoint container / container (push) Successful in 10m42s
This commit is contained in:
1 parent
c608d6fea6
commit
64706cc7e0
12 files changed
+339
-27
No files matched your search
@@ -62,6 +62,10 @@ function actual(g: Game) {
|
||||
g = structuredClone(g);
|
||||
g.phase = 7;
|
||||
for (const p of g.players) g = applyAction(g, p.id, { type: 'ready' });
|
||||
if (g.advanced && g.phase === 8 && g.status === 'playing' && !g.victoryContinuation) {
|
||||
// Fresh Advanced games check the quote after every Mentat opportunity.
|
||||
for (const p of g.players) g = applyAction(g, p.id, { type: 'ready' });
|
||||
}
|
||||
return g;
|
||||
}
|
||||
function compare(g: Game, winner: string[]) {
|
||||
|
||||
Reference in new issue
Block a user