replace groovy code with ability in card script

master
melvin 2013-10-20 16:44:58 +08:00
parent b548d5cf81
commit ac34b567b8
2 changed files with 1 additions and 20 deletions

View File

@ -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));
}
}
]

View File

@ -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