Menu

Submission for Cackling Counterpart

100

Comment

Adapted from Spitting Image

Config

name=Cackling Counterpart
image=http://mtgimage.com/card/cackling%20counterpart.jpg
value=2.500
rarity=R
type=Instant
cost={1}{U}{U}
ability=Flashback {5}{U}{U}
timing=removal
requires_groovy_code
oracle=Put a token onto the battlefield that's a copy of target creature you control. Flashback {5}{U}{U}

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                MagicTargetChoice.TARGET_CREATURE_YOU_CONTROL,
                MagicCopyPermanentPicker.create(),
                this,
                "PN puts a token that's a copy of target creature\$ he controls onto the battlefield."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPermanent(game, {
                final MagicPlayer player = event.getPlayer();
                game.doAction(new MagicPlayTokenAction(
                    player,
                    it
                ));
            });
        }
    }
]
Pushed