replace groovy code with ability in card script
parent
b548d5cf81
commit
ac34b567b8
|
@ -1,19 +0,0 @@
|
||||||
[
|
|
||||||
new MagicBattalionTrigger() {
|
|
||||||
@Override
|
|
||||||
public MagicEvent executeTrigger(
|
|
||||||
final MagicGame game,
|
|
||||||
final MagicPermanent permanent,
|
|
||||||
final MagicPermanent attacker) {
|
|
||||||
return new MagicEvent(
|
|
||||||
permanent,
|
|
||||||
this,
|
|
||||||
"SN gains flying until end of turn."
|
|
||||||
);
|
|
||||||
}
|
|
||||||
@Override
|
|
||||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
||||||
game.doAction(new MagicGainAbilityAction(event.getPermanent(),MagicAbility.Flying));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
|
@ -7,5 +7,5 @@ type=Creature
|
||||||
subtype=Human,Knight
|
subtype=Human,Knight
|
||||||
cost={1}{W}
|
cost={1}{W}
|
||||||
pt=3/1
|
pt=3/1
|
||||||
|
ability=battalion effect SN gains flying until end of turn.
|
||||||
timing=main
|
timing=main
|
||||||
requires_groovy_code
|
|
||||||
|
|
Loading…
Reference in New Issue