24 lines
857 B
Groovy
24 lines
857 B
Groovy
[
|
|
new MagicSpellCardEvent() {
|
|
@Override
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
return new MagicEvent(
|
|
cardOnStack,
|
|
MagicTargetChoice.TARGET_OPPONENT,
|
|
this,
|
|
"Creatures and lands target opponent\$ controls don't untap during that opponent's next untap step."
|
|
);
|
|
}
|
|
@Override
|
|
public void executeEvent(
|
|
final MagicGame game,
|
|
final MagicEvent event) {
|
|
event.processTargetPlayer(game,new MagicPlayerAction() {
|
|
public void doAction(final MagicPlayer player) {
|
|
game.doAction(new MagicChangePlayerStateAction(player,MagicPlayerState.Exhausted));
|
|
}
|
|
});
|
|
}
|
|
}
|
|
]
|