feedback5: a 自选 summoner promoted in place on the board (升华 / 博士投影) tops its summon stacks up to the elite's deploy limit, like an elite merged onto a tile (麦哲伦 / 令 3 → 4, 望 6 → 7 with their modules; found by the 0.2.0 interaction review, round 17); test fails without the fix; golden unchanged

This commit is contained in:
sganggs committed 2026-10-06 19:28:04 +08:00
1 parent 8ce6d280bd
commit 83d76e507d
2 files changed
+43

No files matched your search

+3
View File
@@ -150,6 +150,9 @@ export class PlayerAcquire {
piece.poolCopies = (piece.poolCopies || 0) + this.poolOf(base).take(base, extra);
piece.id = goldenId;
this.recompute();
// an elite on the board tops its summon stacks up to the elite's deploy limit, like an elite merged onto a tile
// (_mergeChess → grantTokensFor): 麦哲伦 / 令 3 → 4, 望 6 → 7 with their modules (0.2.0 review round 17)
if ([...this.board.values()].includes(piece)) this.grantTokensFor(piece);
return true;
}