Menu

Submission for Lys Alana Huntmaster

10

Comment

tested in magarena 1.44

Config

name=Lys Alana Huntmaster
url=http://magiccards.info/evg/en/10.html
image=http://magiccards.info/scans/en/evg/10.jpg
value=4.086
rarity=C
type=Creature
subtype=Elf,Warrior
cost={2}{G}{G}
pt=3/3
timing=main
requires_groovy_code

Script

[
    new MagicWhenOtherSpellIsCastTrigger() {
        @Override
        public boolean accept(final MagicPermanent permanent, final MagicCardOnStack spell) {
            return spell.hasSubType(MagicSubType.Elf);
        }
        @Override
        public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicCardOnStack cardOnStack) {
            new MagicEvent(
				permanent,
				new MagicMayChoice(),
				this,
				"PN may\$ put a 1/1 green Elf Warrior creature token onto the battlefield."
			);
        }

        @Override
        public void executeEvent(final MagicGame game, final MagicEvent event) {
            if (event.isYes()) {
                game.doAction(new MagicPlayTokenAction(
                    event.getPlayer(), 
                    TokenCardDefinitions.get("1/1 green Elf Warrior creature token")
                ));
            }
        }
    }
]
Pushed