20 lines
671 B
Groovy
20 lines
671 B
Groovy
[
|
|
new MagicSpellCardEvent() {
|
|
@Override
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
cardOnStack,
|
|
this,
|
|
"Draw three cards, then discard a card.");
|
|
}
|
|
@Override
|
|
public void executeEvent(
|
|
final MagicGame game,
|
|
final MagicEvent event) {
|
|
final MagicPlayer player=event.getPlayer();
|
|
game.doAction(new MagicDrawAction(player,3));
|
|
game.addEvent(new MagicDiscardEvent(event.getSource(),player,1,false));
|
|
}
|
|
}
|
|
]
|