Menu

Submission for Frontier Mastodon

130

Config

name=Frontier Mastodon
image=http://mtgimage.com/card/frontier%20mastodon.jpg
value=2.500
rarity=C
type=Creature
subtype=Elephant
cost={2}{G}
pt=3/2
timing=main
requires_groovy_code
oracle=Ferocious — Frontier Mastodon enters the battlefield with a +1/+1 counter on it if you control a creature with power 4 or greater.

Script

[
    new MagicWhenComesIntoPlayTrigger(MagicTrigger.REPLACEMENT) {
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
            if (permanent.getController().controlsPermanent(MagicTargetFilterFactory.CREATURE_POWER_4_OR_MORE)) {
                game.doAction(MagicChangeCountersAction.Enters(permanent,MagicCounterType.PlusOne,1));
            }
            return MagicEvent.NONE;
        }
    }
]
Pushed