magarena/release/Magarena/scripts/Brilliant_Plan.groovy

17 lines
493 B
Groovy
Raw Normal View History

2013-05-24 03:48:19 -07:00
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN draws three cards."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicDrawAction(event.getPlayer(),3));
}
}
]