Menu

Submission for Engulfing Flames

191

Config

name=Engulfing Flames
url=http://magiccards.info/od/en/191.html
image=http://magiccards.info/scans/en/od/191.jpg
value=3.011
removal=2
rarity=U
type=Instant
cost={R}
timing=removal
ability=Flashback {3}{R}
requires_groovy_code

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                MagicTargetChoice.NEG_TARGET_CREATURE,
                new MagicDamageTargetPicker(1,true),
                this,
                "SN deals 1 damage to target creature\$. " +
                "It can't be regenerated this turn. "
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            event.processTarget(game, {
                final MagicTarget target ->
                final MagicDamage damage=new MagicDamage(event.getSource(),target,1);
                damage.setNoRegeneration();
                game.doAction(new MagicDealDamageAction(damage));
            });
        }
    }
]
Pushed