replace groovy code with effect in card script
parent
bf051ab45d
commit
b325ae3d42
|
@ -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));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue