Menu

Submission for Taste of Paradise

84

Config

name=Taste of Paradise
image=http://mtgimage.com/card/taste%20of%20paradise.jpg
value=2.500
rarity=C
type=Sorcery
cost={3}{G}
ability=Multikicker {1}{G}
timing=main
requires_groovy_code
oracle=As an additional cost to cast Taste of Paradise, you may pay {1}{G} any number of times. You gain 3 life plus an additional 3 life for each additional {1}{G} you paid.

Script

[
    new MagicSpellCardEvent() {
        @Override
        public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
            return new MagicEvent(
                cardOnStack,
                payedCost.getKicker(),
                this,
                "PN gains 3 life plus 3 life for each additional {1}{G} spent to cast SN. (RN)"
            );
        }
        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
                game.doAction(new MagicChangeLifeAction(event.getPlayer(),3 + 3 * event.getRefInt()));
        }
    }
]
Pushed