Menu

Submission for Sage of Fables

47

Config

name=Sage of Fables
image=http://mtgimage.com/card/sage%20of%20fables.jpg
value=2.500
rarity=U
type=Creature
subtype=Merfolk,Wizard
cost={2}{U}
pt=2/2
ability={2}, Remove a +1/+1 counter from a creature you control: Draw a card.
timing=main
requires_groovy_code
oracle=Each other Wizard creature you control enters the battlefield with an additional +1/+1 counter on it. {2}, Remove a +1/+1 counter from a creature you control: Draw a card.

Script

[
    new MagicWhenOtherComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPermanent otherPermanent) {
            if (otherPermanent != permanent &&
                otherPermanent.isCreature() &&
                otherPermanent.isFriend(permanent) &&
                otherPermanent.hasSubType(MagicSubType.Wizard)) {
                game.doAction(new MagicChangeCountersAction(otherPermanent,MagicCounterType.PlusOne,1));
            }
            return MagicEvent.NONE;
        }
    }
]
Pushed