replace groovy code with card script
parent
30888b4958
commit
dcf9203db1
|
@ -53,32 +53,5 @@ def ST = new MagicStatic(MagicLayer.Type, MagicStatic.UntilEOT) {
|
||||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||||
game.doAction(new MagicBecomesCreatureAction(event.getPermanent(),PT,AB,ST));
|
game.doAction(new MagicBecomesCreatureAction(event.getPermanent(),PT,AB,ST));
|
||||||
}
|
}
|
||||||
},
|
|
||||||
new MagicPermanentActivation(
|
|
||||||
new MagicActivationHints(MagicTiming.Pump,true),
|
|
||||||
"Pump"
|
|
||||||
) {
|
|
||||||
@Override
|
|
||||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
|
||||||
return [new MagicTapEvent(source), new MagicPayManaCostEvent(source, "{1}")];
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
||||||
return new MagicEvent(
|
|
||||||
source,
|
|
||||||
MagicTargetChoice.POS_TARGET_BLINKMOTH_CREATURE,
|
|
||||||
MagicPumpTargetPicker.create(),
|
|
||||||
this,
|
|
||||||
"Target Blinkmoth creature\$ gets +1/+1 until end of turn."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
||||||
event.processTargetPermanent(game,new MagicPermanentAction() {
|
|
||||||
public void doAction(final MagicPermanent creature) {
|
|
||||||
game.doAction(new MagicChangeTurnPTAction(creature,1,1));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -4,7 +4,8 @@ image=http://magiccards.info/scans/en/ds/163.jpg
|
||||||
value=4.038
|
value=4.038
|
||||||
rarity=R
|
rarity=R
|
||||||
type=Land
|
type=Land
|
||||||
ability=tap add mana {1}
|
ability=tap add mana {1};\
|
||||||
|
pay {1}, {T}: Target Blinkmoth creature gets +1/+1 until end of turn.
|
||||||
timing=land
|
timing=land
|
||||||
mana_or_combat
|
mana_or_combat
|
||||||
requires_groovy_code
|
requires_groovy_code
|
||||||
|
|
Loading…
Reference in New Issue