replace groovy script with card script

master
melvin 2014-07-30 10:23:06 +08:00
parent da94c95332
commit fa1df67ffe
2 changed files with 3 additions and 25 deletions

View File

@ -1,23 +0,0 @@
[
new MagicWhenBecomesMonstrousTrigger() {
@Override
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent,final MagicChangeStateAction action) {
return action.permanent == permanent ?
new MagicEvent(
permanent,
new MagicTargetChoice("target creature with flying an opponent controls"),
MagicDestroyTargetPicker.Destroy,
this,
"Destroy target creature\$ with flying an opponent controls."
):
MagicEvent.NONE;
}
@Override
public void executeEvent(final MagicGame game, final MagicEvent event) {
event.processTargetPermanent(game, {
game.doAction(new MagicDestroyAction(it));
});
}
}
]

View File

@ -6,7 +6,8 @@ type=Creature
subtype=Giant
cost={2}{G}{G}{G}
pt=6/6
ability=reach;monstrosity 3 {3}{G}{G}{G}
ability=reach;\
monstrosity 3 {3}{G}{G}{G};\
When SN becomes monstrous, destroy target creature with flying an opponent controls.
timing=main
requires_groovy_code
oracle=Reach. {3}{G}{G}{G}: Monstrosity 3.. When Arbor Colossus becomes monstrous, destroy target creature with flying an opponent controls.