replace groovy code with effect in card script

master
melvin 2013-10-27 20:59:46 +08:00
parent bf051ab45d
commit b325ae3d42
2 changed files with 1 additions and 18 deletions

View File

@ -1,17 +0,0 @@
[
new MagicSpellCardEvent() {
@Override
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
return new MagicEvent(
cardOnStack,
this,
"PN draws two cards, then discard two cards."
);
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
game.doAction(new MagicDrawAction(event.getPlayer(),2));
game.addEvent(new MagicDiscardEvent(event.getSource(),event.getPlayer(),2));
}
}
]

View File

@ -5,5 +5,5 @@ value=4.354
rarity=C
type=Sorcery
cost={U}
effect=PN draws two cards, then discards two cards.
timing=draw
requires_groovy_code