Menu

Submission for Sigil Captain

225

Comment

i include groovy script in case its needed.

Config

name=Sigil Captain
image=http://mtgimage.com/card/sigil%20captain.jpg
value=2.500
rarity=U
type=Creature
subtype=Rhino,Soldier
cost={1}{G}{W}{W}
pt=3/3
ability=Whenever a creature enters the battlefield under your control, if that creature is 1/1, put two +1/+1 counters on it.
timing=main
oracle=Whenever a creature enters the battlefield under your control, if that creature is 1/1, put two +1/+1 counters on it.

Script

[
    new MagicWhenOtherComesIntoPlayTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicPermanent otherPermanent) {
            return (otherPermanent.isCreature() &&
                    otherPermanent.isFriend(permanent)) ?
                new MagicEvent(
                    permanent,
                    otherPermanent,
                    this,
                    "if RN is 1/1. Put 2 +1/+1 counters on RN."
                ) :
                MagicEvent.NONE;
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
			final 
			if (event.getRefPermanent.getPower()=1 && event.getRefPermanent.getToughness()=1){
				game.doAction(new MagicChangeCountersAction(event.getRefPermanent(),MagicCounterType.PlusOne,2));
			}
        }
    }
]
Pushed