replace groovy code with card script
parent
aa5eac5ba2
commit
91442cf8d2
|
@ -1,35 +0,0 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Pump),
|
||||
"Mill"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [
|
||||
new MagicTapEvent(source),
|
||||
new MagicPayManaCostEvent(source,"{1}{U}{B}")
|
||||
];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.TARGET_PLAYER,
|
||||
this,
|
||||
"Target player\$ puts the top three cards of " +
|
||||
"his or her library into his or her graveyard."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPlayer(game,new MagicPlayerAction() {
|
||||
public void doAction(final MagicPlayer player) {
|
||||
game.doAction(new MagicMillLibraryAction(player,3));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -4,6 +4,6 @@ image=http://magiccards.info/scans/en/isd/245.jpg
|
|||
value=3.612
|
||||
rarity=R
|
||||
type=Land
|
||||
ability=tap add mana {1}
|
||||
ability=tap add mana {1};\
|
||||
pay {1}{U}{B}, {T}: Target player puts the top three cards of his or her library into his or her graveyard.
|
||||
timing=land
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue