2013-06-08 20:43:55 -07:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
MagicTargetChoice.NEG_TARGET_SPELL,
|
|
|
|
this,
|
|
|
|
"Counter target spell\$ unless its controller pays {1}. Draw a card."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
event.processTargetCardOnStack(game,new MagicCardOnStackAction() {
|
|
|
|
public void doAction(final MagicCardOnStack targetSpell) {
|
|
|
|
game.addEvent(new MagicCounterUnlessEvent(event.getSource(),targetSpell,MagicManaCost.create("{1}")));
|
2013-06-21 20:55:22 -07:00
|
|
|
game.doAction(new MagicDrawAction(event.getPlayer()));
|
2013-06-08 20:43:55 -07:00
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|