replace groovy code with ability
parent
9fd048ab54
commit
cd7c5a4c5d
|
@ -1,20 +0,0 @@
|
|||
[
|
||||
new MagicWhenComesIntoPlayTrigger() {
|
||||
@Override
|
||||
public MagicEvent executeTrigger(final MagicGame game,final MagicPermanent permanent, final MagicPayedCost payedCost) {
|
||||
return new MagicEvent(
|
||||
permanent,
|
||||
this,
|
||||
"PN puts two 1/1 green Saproling creature tokens onto the battlefield."
|
||||
);
|
||||
}
|
||||
@Override
|
||||
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
||||
game.doAction(new MagicPlayTokensAction(
|
||||
event.getPlayer(),
|
||||
TokenCardDefinitions.get("1/1 green Saproling creature token"),
|
||||
2
|
||||
));
|
||||
}
|
||||
}
|
||||
]
|
|
@ -6,7 +6,7 @@ rarity=C
|
|||
type=Enchantment
|
||||
subtype=Aura
|
||||
cost={1}{G}
|
||||
ability=enters effect PN puts two 1/1 green Saproling creature tokens onto the battlefield.
|
||||
given_ability=trample
|
||||
timing=aura
|
||||
enchant=trample,pos creature
|
||||
requires_groovy_code
|
||||
|
|
Loading…
Reference in New Issue