Menu

Submission for Ember Swallower

120

Comment

sorry, i can't find a way to add a single event "sacrifice 3 lands". so i add 3 events. need simplified if possible.

Config

name=Ember Swallower
url=http://magiccards.info/ths/en/120.html
image=http://magiccards.info/scans/en/ths/120.jpg
value=3.460
rarity=R
type=Creature
subtype=Elemental
cost={2}{R}{R}
pt=4/5
ability=monstrosity 3 {5}{R}{R}
timing=main


Script

[
    new MagicWhenBecomesMonstrousTrigger() {
        @Override
        public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicChangeStateAction action) {
            return new MagicEvent(
                permanent,
                this,
                "Each player sacrifices 3 lands."
            );
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            for (final MagicPlayer player : game.getPlayers()) {
                game.addEvent(new MagicSacrificePermanentEvent(
                    event.getSource(),
                    player,
                    MagicTargetChoice.SACRIFICE_LAND
                ));
                game.addEvent(new MagicSacrificePermanentEvent(
                    event.getSource(),
                    player,
                    MagicTargetChoice.SACRIFICE_LAND
                ));
                game.addEvent(new MagicSacrificePermanentEvent(
                    event.getSource(),
                    player,
                    MagicTargetChoice.SACRIFICE_LAND
                ));
            }
        }
    }
]
Pushed