Menu

Submission for Anaba Ancestor

86

Config

name=Anaba Ancestor
image=http://mtgimage.com/card/anaba%20ancestor.jpg
value=2.500
rarity=R
type=Creature
subtype=Minotaur,Spirit
cost={1}{R}
pt=1/1
timing=main
requires_groovy_code
oracle={T}: Another target Minotaur creature gets +1/+1 until end of turn.

Script

[
    new MagicPermanentActivation(
        new MagicActivationHints(MagicTiming.Pump),
        "Pump"
    ) {
        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
            return [
                new MagicTapEvent(source)
            ];
        }

        @Override
        public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
            return new MagicEvent(
                source,
                MagicTargetChoice.PosOther("target Minotaur creature", source),
                MagicPumpTargetPicker.create(),
                this,
                "Target Minotaur creature\$ other than SN gets +1/+1 until end of turn."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPermanent(game, {
                game.doAction(new MagicChangeTurnPTAction(it,1,1));
            });
        }
    }
]
Pushed