Menu

Submission for Distortion Strike

60

Config

name=Distortion Strike
image=http://magiccards.info/scans/en/roe/60.jpg
value=2.500
rarity=C
type=Sorcery
cost={U}
timing=main
requires_groovy_code
oracle=Target creature gets +1/+0 until end of turn and can't be blocked this turn. Rebound

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                MagicTargetChoice.POS_TARGET_CREATURE,
                MagicPumpTargetPicker.create(),
                this,
                "Target creature\$ gets +1/+0 until end of turn and can't be blocked this turn. Rebound."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPermanent(game, {
                game.doAction(new MagicChangeTurnPTAction(it,1,0));
                game.doAction(new MagicGainAbilityAction(it, MagicAbility.Unblockable));
            });
            game.addEvent(MagicRuleEventAction.create("Rebound").getEvent(event.getSource()));
        }
    }
]
Pushed