Menu

Submission for Skeleton Ship

197

Config

name=Skeleton Ship
image=http://mtgimage.com/card/skeleton%20ship.jpg
value=2.500
rarity=R
type=Legendary,Creature
subtype=Skeleton
cost={3}{U}{B}
pt=0/3
ability={T}: Put a -1/-1 counter on target creature.
timing=main
requires_groovy_code
oracle=When you control no Islands, sacrifice Skeleton Ship. {T}: Put a -1/-1 counter on target creature.

Script

[
    new MagicStatic(MagicLayer.Game) {
        @Override
        public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return source.getController().controlsPermanent(MagicSubType.Island) == false;
        }
        @Override
        public void modGame(final MagicPermanent source, final MagicGame game) {
            game.doAction(new MagicPutStateTriggerOnStackAction(new MagicEvent(
                source,
                {
                    final MagicGame G, final MagicEvent E ->
                    G.doAction(new MagicSacrificeAction(E.getPermanent()));
                },
                "Sacrifice SN."
            )));
        }
    }
]
Pushed