Skip to content

Player::descent via getCardsAddedThisTurn #9730

@Hanmac

Description

@Hanmac

replace Zone manual counting:

if (zoneType == ZoneType.Graveyard && c.isPermanent() && !c.isToken()) {
c.getOwner().descend();
}

with this Player function:

public final int getDescended() {
        return getZone(ZoneType.Graveyard).getCardsAddedThisTurn(null).stream()
                .filter(c -> c.isPermanent() && !c.isToken()).count();
    }

Or is the problem the LKI?

how are Descend rules for DFC that may or may not be Permanent?
Like Extus, Oriq Overlord is a creature on the front side, but Spell on the back
Like Bloodsoaked Insight is a Spell on the front side, but a Land on the back

Rules:

700.11. Some cards refer to whether a player has “descended this turn.” This means that a permanent card has been put into that player’s graveyard from anywhere this turn. “The number of times [a player] descended this turn” means “the number of permanent cards put into [that player’s] graveyard from anywhere this turn.” In both cases, no permanent cards put into the player’s graveyard that turn are required to still be in that graveyard.

from anywhere this turn does mean it doesn't look back. So it should count Extus, Oriq Overlord, but not Bloodsoaked Insight, right?

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions