Support multiple named Ghola commitments
Verify and publish checkpoint container / container (push) Canceled after 0s
Verify and publish checkpoint container / container (push) Canceled after 0s
This commit is contained in:
1 parent
6c1530382d
commit
bdd5aaf18c
8 files changed
+286
-26
No files matched your search
@@ -1305,6 +1305,9 @@ function policyActions(g: GameView): Action[] {
|
||||
if (g.decision.player !== me.id) return [];
|
||||
const search = g.nullentropy?.search;
|
||||
if (!search) return [];
|
||||
const promised = g.gholaLeaderPromiseGuide?.action;
|
||||
if (promised?.type === 'decision' && promised.event === search.event &&
|
||||
search.cards.some(card => card.id === promised.card && card.effect === 'ghola')) return [promised];
|
||||
const ordered = [...search.cards].sort((a, b) => {
|
||||
const score = (card: typeof a) => {
|
||||
const richese = richeseCardDefinition(card);
|
||||
|
||||
Reference in new issue
Block a user