Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reworking effects which search multiple zones #7685

Open
theelk801 opened this issue Mar 21, 2021 · 3 comments
Open

Reworking effects which search multiple zones #7685

theelk801 opened this issue Mar 21, 2021 · 3 comments
Labels

Comments

@theelk801
Copy link
Contributor

Right now the way we handle searching more than one zone (for example [[Runed Crown]] or [[Gate to the Afterlife]]) is to give the player a choice of which zone to search, after which they search. The problem here is twofold: first, the user interface could be cleaner, and second, [[Opposition Agent]] needs to be able to control the player when they're searching that zone.

We'll need a new UI for searching multiple zones at once and we'll need to refactor a lot of cards to make this work correctly.

@github-actions
Copy link

Runed Crown - (Gatherer) (Scryfall) (EDHREC)

{3}
Artifact — Equipment
When Runed Crown enters the battlefield, you may search your library, hand, and/or graveyard for a Rune card and put it onto the battlefield attached to Runed Crown. If you search your library this way, shuffle it.
Equipped creature gets +1/+1.
Equip {2}

Gate to the Afterlife - (Gatherer) (Scryfall) (EDHREC)

{3}
Artifact
Whenever a nontoken creature you control dies, you gain 1 life. Then you may draw a card. If you do, discard a card.
{2}, {T}, Sacrifice Gate to the Afterlife: Search your graveyard, hand, and/or library for a card named God-Pharaoh's Gift and put it onto the battlefield. If you search your library this way, shuffle it. Activate this ability only if there are six or more creature cards in your graveyard.

Opposition Agent - (Gatherer) (Scryfall) (EDHREC)

{2}{B}
Creature — Human Rogue
3/2
Flash
You control your opponents while they're searching their libraries.
While an opponent is searching their library, they exile each card they find. You may play those cards for as long as they remain exiled, and you may spend mana as though it were mana of any color to cast them.

@JayDi85
Copy link
Member

JayDi85 commented Mar 21, 2021

Also AI must see all cards at once, so it can select cards more usefully (e.g. select most powerful card from both zones).

@JayDi85
Copy link
Member

JayDi85 commented Jan 20, 2025

It must be compatible with hidden zones (player allowed do not choose existing card from a hidden zones like library or hand):

701.19b.
If a player is searching a hidden zone for cards with a stated quality, such as a card with a certain card type or color, that player isn't required to find some or all of those cards even if they're present in that zone. This is true even if your hand is revealed

Example implementation: Kassandra, Eagle Bearer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants