magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.86k stars 761 forks source link

cleanup Targets any amount with minimum criteria for the sum (Crew, Saddle, Collect Evidence) #12269

Open Susucre opened 4 months ago

Susucre commented 4 months ago

Following the [[Nethergoyf]] implementation of its Escape target in #12267 the following classes could be aligned in their way to define a target "any number of [...] with a minimum total of Y [...]":

Aside from Crew + Saddle, I'm not sure it is worth trying to have some common class, as they all target different zones and/or want different condition.

github-actions[bot] commented 4 months ago

Nethergoyf - (Gatherer) (Scryfall) (EDHREC)

{B} Creature — Lhurgoyf /1+ Nethergoyf's power is equal to the number of card types among cards in your graveyard and its toughness is equal to that number plus 1. Escape—{2}{B}, Exile any number of other cards from your graveyard with four or more card types among them. (You may cast this card from your graveyard for its escape cost.)

github-actions[bot] commented 4 months ago

Fabrication Foundry - (Gatherer) (Scryfall) (EDHREC)

{1}{W} Artifact {T}: Add {W}. Spend this mana only to cast an artifact spell or activate an ability of an artifact source. {2}{W}, {T}, Exile one or more other artifacts you control with total mana value X: Return target artifact card with mana value X or less from your graveyard to the battlefield. Activate only as a sorcery.