Menu

Submission for Reforge the Soul

132

Config

name=Reforge the Soul
image=http://magiccards.info/scans/en/avr/151.jpg
value=4.100
rarity=R
type=Sorcery
cost={3}{R}{R}
ability=miracle {1}{R}
timing=draw
requires_groovy_code
oracle=Each player discards his or her hand, then draws seven cards.\nMiracle {1}{R}

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                this,
                "Each player discards all the cards in his or her hand, then draws 7 cards."
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            for (final MagicPlayer player : game.getAPNAP()) {
                game.addEvent(new MagicDiscardHandEvent(event.getSource(),player));
            }
            for (final MagicPlayer player : game.getAPNAP()) {
                game.addEvent(new MagicDrawEvent(event.getSource(), player, 7));
            }
        }
    }
]
Pushed