Menu

Submission for Goblins of the Flarg

98

Comment

Adapted from Covetous Dragon

Config

name=Goblins of the Flarg
image=http://mtgimage.com/card/goblins%20of%20the%20flarg.jpg
value=2.500
rarity=C
type=Creature
subtype=Goblin,Warrior
cost={R}
pt=1/1
ability=Mountainwalk
timing=main
requires_groovy_code
oracle=Mountainwalk. When you control a Dwarf, sacrifice Goblins of the Flarg.

Script

[
    new MagicStatic(MagicLayer.Game) {
        @Override
        public boolean condition(final MagicGame game,final MagicPermanent source,final MagicPermanent target) {
            return source.getController().controlsPermanent(MagicSubType.Dwarf) == true;
        }
        @Override
        public void modGame(final MagicPermanent source, final MagicGame game) {
            game.doAction(new MagicPutStateTriggerOnStackAction(
                MagicRuleEventAction.create(
                    source,
                    "Sacrifice SN."
                )
            ));
        }
    }
]
Pushed