22 lines
662 B
Groovy
22 lines
662 B
Groovy
[
|
|
new MagicWhenComesIntoPlayTrigger() {
|
|
@Override
|
|
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
permanent,
|
|
this,
|
|
"Untap up to two lands."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
game.addEvent(new MagicRepeatedPermanentsEvent(
|
|
event.getSource(),
|
|
TARGET_LAND,
|
|
2,
|
|
MagicChainEventFactory.Untap
|
|
));
|
|
}
|
|
}
|
|
]
|