magarena/release/Magarena/scripts/Bestial_Menace.groovy

22 lines
927 B
Groovy
Raw Normal View History

2013-05-17 22:50:08 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
2013-06-23 18:29:26 -07:00
"Put a 1/1 green Snake creature token, " +
"a 2/2 green Wolf creature token and " +
2013-05-17 22:50:08 -07:00
"a 3/3 green Elephant creature token onto the battlefield."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
final MagicPlayer player=event.getPlayer();
game.doAction(new MagicPlayTokenAction(player,TokenCardDefinitions.get("Snake")));
game.doAction(new MagicPlayTokenAction(player,TokenCardDefinitions.get("Wolf")));
game.doAction(new MagicPlayTokenAction(player,TokenCardDefinitions.get("Elephant")));
}
}
]