Menu

Submission for Pyrrhic Revival

93

Comment

tested in magarena 1.43

Config

name=Pyrrhic Revival
url=http://magiccards.info/eve/en/93.html
image=http://magiccards.info/scans/en/eve/93.jpg
value=3.611
rarity=R
type=Sorcery
cost={3}{W/B}{W/B}{W/B}
timing=main
requires_groovy_code

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "Each player returns each creature card from his or her graveyard " + 
				"to the battlefield with an additional -1/-1 counter on it."
            );
        }

       @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            final MagicPlayer player = event.getPlayer();
            final Collection<MagicCard> targets = game.filterCards(
                player,
                MagicTargetFilter.TARGET_CREATURE_CARD_FROM_ALL_GRAVEYARDS
            );
            for (final MagicCard card : targets) {
                game.doAction(new MagicReanimateAction(
                    card, 
                    card.getController(), 
                    [MagicPlayMod.PERSIST]
                ));
            }
        }
    }
]
Pushed