replace groovy code with ability in card script
parent
873ed1c6af
commit
d9053cc936
|
@ -1,28 +0,0 @@
|
||||||
[
|
|
||||||
new MagicPermanentActivation(
|
|
||||||
new MagicActivationHints(MagicTiming.Pump),
|
|
||||||
"Pump"
|
|
||||||
) {
|
|
||||||
@Override
|
|
||||||
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
|
||||||
return [
|
|
||||||
new MagicSacrificePermanentEvent(
|
|
||||||
source,
|
|
||||||
MagicTargetChoice.SACRIFICE_CREATURE
|
|
||||||
)
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
||||||
return new MagicEvent(
|
|
||||||
source,
|
|
||||||
this,
|
|
||||||
"SN gets +1/+1 until end of turn."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
||||||
game.doAction(new MagicChangeTurnPTAction(event.getPermanent(),1,1));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -7,6 +7,6 @@ type=Creature
|
||||||
subtype=Insect
|
subtype=Insect
|
||||||
cost={1}{B}{B}
|
cost={1}{B}{B}
|
||||||
pt=2/1
|
pt=2/1
|
||||||
ability=flying
|
ability=flying;\
|
||||||
|
pay Sacrifice a creature: SN gets +1/+1 until end of turn.
|
||||||
timing=main
|
timing=main
|
||||||
requires_groovy_code
|
|
||||||
|
|
Loading…
Reference in New Issue