Add script for Elvish Promenade
parent
ded01ea070
commit
79e1fb69e8
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
new MagicSpellCardEvent() {
|
||||
@Override
|
||||
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
cardOnStack,
|
||||
this,
|
||||
"PN puts a 1/1 green Elf Warrior creature tokens onto the battlefield " +
|
||||
"for each Elf creature he controls."
|
||||
);
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
final int amount = event.getPlayer().getNrOfPermanents(MagicSubType.Elf);
|
||||
game.doAction(new MagicPlayTokensAction(
|
||||
event.getPlayer(),
|
||||
TokenCardDefinitions.get("Elf1"),
|
||||
amount
|
||||
));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -0,0 +1,10 @@
|
|||
name=Elvish Promenade
|
||||
url=http://magiccards.info/dpa/en/62.html
|
||||
image=http://magiccards.info/scans/en/dpa/62.jpg
|
||||
value=4.070
|
||||
rarity=U
|
||||
type=Tribal,Sorcery
|
||||
subtype=Elf
|
||||
cost={3}{G}
|
||||
timing=main
|
||||
requires_groovy_code
|
Loading…
Reference in New Issue