replace groovy code with ability in card script
parent
d62dd8bc28
commit
fa546b80a4
|
@ -1,32 +0,0 @@
|
|||
[
|
||||
new MagicPermanentActivation(
|
||||
new MagicActivationHints(MagicTiming.Tapping),
|
||||
"Untap"
|
||||
) {
|
||||
|
||||
@Override
|
||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
||||
return [new MagicTapEvent(source)];
|
||||
}
|
||||
|
||||
@Override
|
||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
source,
|
||||
MagicTargetChoice.POS_TARGET_FOREST,
|
||||
MagicTapTargetPicker.Untap,
|
||||
this,
|
||||
"Untap target Forest\$."
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
||||
public void doAction(final MagicPermanent forest) {
|
||||
game.doAction(new MagicUntapAction(forest));
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
]
|
|
@ -7,5 +7,5 @@ type=Creature
|
|||
subtype=Elf,Druid
|
||||
cost={G}
|
||||
pt=1/1
|
||||
ability=pay {T} Untap target Forest.
|
||||
timing=main
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue