mage icon indicating copy to clipboard operation
mage copied to clipboard

Refactor: group logic for dynamic value "the greatest [quality] among [filtered card in zone]"

Open Susucre opened this issue 7 months ago • 2 comments

Those cards were excluded in #13666, that filtered only on permanents.

Currently, there are only 7 candidates (scryfall search), with two of them [[Ambitious Dragonborn]] and [[Skanos Dragonheart]] caring for both cards and permanents.

Susucre avatar May 25 '25 12:05 Susucre

Ambitious Dragonborn - (Gatherer) (Scryfall) (EDHREC)

{3}{G} Creature — Dragon Barbarian 0/0 This creature enters with X +1/+1 counters on it, where X is the greatest power among creatures you control and creature cards in your graveyard.

Skanos Dragonheart - (Gatherer) (Scryfall) (EDHREC)

{4}{G} Legendary Creature — Dragon Ranger 4/4 Whenever Skanos Dragonheart attacks, it gets +X/+X until end of turn, where X is the greatest power among other Dragons you control and Dragon cards in your graveyard. Choose a Background (You can have a Background as a second commander.)

github-actions[bot] avatar May 25 '25 12:05 github-actions[bot]

After thinking about it more, I think I'll go with a GreatestAmongCardsValue similar to GreatestAmongPermanentsValue, and for the two cards or permanent, a card-local MaximumDynamicValue would combine two values together.

Susucre avatar May 25 '25 16:05 Susucre