Menu

Submission for Misguided Rage

99

Comment

Based on Diabolic Edict

Config

name=Misguided Rage
image=http://mtgimage.com/card/misguided%20rage.jpg
value=2.500
rarity=C
type=Sorcery
cost={2}{R}
timing=main
requires_groovy_code
oracle=Target player sacrifices a permanent.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                MagicTargetChoice.NEG_TARGET_PLAYER,
                this,
                "Target player\$ sacrifices a permanent."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTargetPlayer(game, {
                game.addEvent(new MagicSacrificePermanentEvent(
                    event.getSource(),
                    it,
                    MagicTargetChoice.SACRIFICE_PERMANENT
                ));
            });
        }
    }
]
Pushed