20 lines
622 B
Groovy
20 lines
622 B
Groovy
[
|
|
new MagicAtEndOfTurnTrigger() {
|
|
@Override
|
|
public MagicEvent executeTrigger(final MagicGame game, final MagicPermanent permanent, final MagicPlayer eotPlayer) {
|
|
return new MagicEvent(
|
|
permanent,
|
|
this,
|
|
"Shuffle SN into its owner's library."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
game.doAction(new MagicRemoveFromPlayAction(
|
|
event.getPermanent(),
|
|
MagicLocationType.OwnersLibrary
|
|
));
|
|
}
|
|
}
|
|
]
|