2013-04-12 19:58:51 -07:00
|
|
|
[
|
|
|
|
new MagicLandfallTrigger() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicPermanent permanent) {
|
|
|
|
return new MagicEvent(
|
|
|
|
permanent,
|
|
|
|
new MagicMayChoice(
|
|
|
|
new MagicPayManaCostChoice(MagicManaCost.create("{2}"))
|
|
|
|
),
|
|
|
|
this,
|
2013-05-17 21:34:33 -07:00
|
|
|
"You may\$ pay {2}\$. If you do, draw a card."
|
2013-04-12 19:58:51 -07:00
|
|
|
);
|
|
|
|
}
|
2013-06-23 18:29:26 -07:00
|
|
|
|
2013-04-12 19:58:51 -07:00
|
|
|
@Override
|
2013-06-15 06:13:32 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-04-12 19:58:51 -07:00
|
|
|
if (event.isYes()) {
|
2013-06-21 20:55:22 -07:00
|
|
|
game.doAction(new MagicDrawAction(event.getPlayer()));
|
2013-04-12 19:58:51 -07:00
|
|
|
}
|
2013-06-23 18:29:26 -07:00
|
|
|
}
|
2013-04-12 19:58:51 -07:00
|
|
|
}
|
|
|
|
]
|