2013-01-13 05:37:23 -08:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
[
|
|
|
|
MagicCondition.TAPPED_CONDITION,
|
|
|
|
MagicCondition.YOUR_UPKEEP_CONDITION,
|
2013-02-26 21:18:13 -08:00
|
|
|
MagicConditionFactory.ManaCost("{9}"),
|
2013-01-13 05:37:23 -08:00
|
|
|
new MagicSingleActivationCondition()
|
|
|
|
],
|
|
|
|
new MagicActivationHints(MagicTiming.Tapping),
|
|
|
|
"Untap") {
|
|
|
|
@Override
|
|
|
|
public MagicEvent[] getCostEvent(final MagicPermanent source) {
|
2013-02-26 21:18:13 -08:00
|
|
|
return [new MagicPayManaCostEvent(source,source.getController(),MagicManaCost.create("{9}")];
|
2013-01-13 05:37:23 -08:00
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
|
|
|
"Untap SN."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicEvent event,
|
|
|
|
final Object[] choiceResults) {
|
|
|
|
game.doAction(new MagicUntapAction(event.getPermanent()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|