Menu

Submission for Massacre

58

Config

name=Massacre
image=http://mtgimage.com/card/massacre.jpg
value=2.500
rarity=U
type=Sorcery
cost={2}{B}{B}
effect=All creatures get -2/-2 until end of turn.
timing=main
requires_groovy_code
oracle=If an opponent controls a Plains and you control a Swamp, you may cast Massacre without paying its mana cost. All creatures get -2/-2 until end of turn.

Script

def SWAMP_AND_PLAINS_CONDITION = new MagicCondition() {
    public boolean accept(final MagicSource source) {
        return source.getController().getNrOfPermanents(MagicSubType.Swamp) >= 1 && 
        source.getController().getOpponent().getNrOfPermanents(MagicSubType.Plains) >= 1;
    }
};

[
     new MagicCardActivation(
        [SWAMP_AND_PLAINS_CONDITION, MagicCondition.CARD_CONDITION],
        new MagicActivationHints(MagicTiming.Pump),
        "NoCost"
    ) {

        @Override
        public Iterable<MagicEvent> getCostEvent(final MagicCard source) {
            return [new MagicPayManaCostEvent(source,"{0}")];
        }
    }
]
Pushed