Skip to content

Support putting more than one card Nth from the top of library#14921

Open
xenohedron wants to merge 3 commits into
masterfrom
nthfromtop
Open

Support putting more than one card Nth from the top of library#14921
xenohedron wants to merge 3 commits into
masterfrom
nthfromtop

Conversation

@xenohedron
Copy link
Copy Markdown
Contributor

@xenohedron xenohedron commented May 24, 2026

To comply with 401.4.
If an effect puts two or more cards in a specific position in a library at the same time, the owner of those cards may arrange them in any order. That library's owner doesn't reveal the order in which the cards go into the library.

Test case coverage for GodEternalEffect in #14900

(tacking on another card rework for Come Back Wrong)

@github-actions github-actions Bot added the cards label May 24, 2026
for (Card card : cards.getCards(game)) {
playerMap.computeIfAbsent(card.getOwnerId(), k -> new CardsImpl()).add(card);
}
for (Entry<UUID, Cards> entry : playerMap.entrySet()) {
Copy link
Copy Markdown
Member

@JayDi85 JayDi85 May 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

players must be in turn order due rules (current player + all other in turn order)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants