Menu

Submission for Might of the Nephilim

88

Config

name=Might of the Nephilim
image=http://mtgimage.com/card/might%20of%20the%20nephilim.jpg
value=2.500
rarity=U
type=Instant
cost={1}{G}
timing=pump
requires_groovy_code
oracle=Target creature gets +2/+2 until end of turn for each of its colors.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                MagicTargetChoice.POS_TARGET_CREATURE,
                this,
                "Target creature\$ gets +2/+2 until end of turn for each of its colors."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPermanent(game, {
            if (it.hasColor(MagicColor.Black)) {
                game.doAction(new MagicChangeTurnPTAction(it,2,2));
            }
            if (it.hasColor(MagicColor.Blue)) {
                game.doAction(new MagicChangeTurnPTAction(it,2,2));
            }
            if (it.hasColor(MagicColor.Green)) {
                game.doAction(new MagicChangeTurnPTAction(it,2,2));
            }
            if (it.hasColor(MagicColor.Red)) {
                game.doAction(new MagicChangeTurnPTAction(it,2,2));
            }
            if (it.hasColor(MagicColor.White)) {
                game.doAction(new MagicChangeTurnPTAction(it,2,2));
            }
            });
        }
    }
]
Pushed