2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack, final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
this,
|
2013-06-21 20:55:22 -07:00
|
|
|
"Each player draw three cards then discard three cards at random."
|
2013-04-12 19:58:51 -07:00
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-15 07:01:56 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
for (final MagicPlayer player : game.getPlayers()) {
|
|
|
|
game.doAction(new MagicDrawAction(player, 3));
|
2013-06-21 20:55:22 -07:00
|
|
|
game.addEvent(MagicDiscardEvent.Random(
|
2013-04-12 19:58:51 -07:00
|
|
|
event.getSource(),
|
2013-06-23 18:29:26 -07:00
|
|
|
player,
|
2013-06-21 20:55:22 -07:00
|
|
|
3
|
2013-04-12 19:58:51 -07:00
|
|
|
));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|