2013-10-08 23:11:40 -07:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
new MagicActivationHints(MagicTiming.Tapping),
|
|
|
|
"Paralyze"
|
|
|
|
) {
|
|
|
|
@Override
|
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
|
|
|
return [
|
2013-10-31 00:30:33 -07:00
|
|
|
new MagicTapEvent(source), new MagicPayManaCostEvent(source, "{1}{G}")
|
2013-10-08 23:11:40 -07:00
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
MagicTargetChoice.NEG_TARGET_CREATURE,
|
|
|
|
new MagicNoCombatTargetPicker(true,true,false),
|
|
|
|
this,
|
|
|
|
"Target creature\$ doesn't untap during its controller's next untap step."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
event.processTargetPermanent(game,new MagicPermanentAction() {
|
|
|
|
public void doAction(final MagicPermanent creature) {
|
|
|
|
game.doAction(MagicChangeStateAction.Set(
|
|
|
|
creature,
|
|
|
|
MagicPermanentState.DoesNotUntapDuringNext
|
|
|
|
));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|