magarena/release/Magarena/scripts/Train_of_Thought.groovy

17 lines
483 B
Groovy
Raw Normal View History

2013-04-12 19:58:51 -07:00
[
new MagicSpellCardEvent() {
@Override
2013-06-15 18:11:36 -07:00
public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
2013-04-12 19:58:51 -07:00
return new MagicEvent(
cardOnStack,
this,
"Draw a card."
);
}
@Override
2013-06-15 07:08:11 -07:00
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicDrawAction(event.getPlayer()));
2013-04-12 19:58:51 -07:00
}
}
]