magarena/release/Magarena/scripts/Dragon_Fodder.groovy

22 lines
674 B
Groovy
Raw Normal View History

2013-03-17 23:02:30 -07:00
[
new MagicSpellCardEvent() {
2012-06-17 05:19:08 -07:00
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
2012-09-15 18:42:08 -07:00
cardOnStack,
2011-08-12 20:34:22 -07:00
this,
"PN puts two 1/1 red Goblin creature tokens onto the battlefield.");
2012-06-17 05:19:08 -07:00
}
@Override
public void executeEvent(
2011-08-12 20:34:22 -07:00
final MagicGame game,
2013-03-22 22:00:53 -07:00
final MagicEvent event) {
game.doAction(new MagicPlayTokensAction(
event.getPlayer(),
TokenCardDefinitions.get("Goblin1"),
2
));
2012-06-17 05:19:08 -07:00
}
2013-03-17 23:02:30 -07:00
}
]