2013-05-30 05:26:06 -07:00
|
|
|
def PT = new MagicStatic(MagicLayer.SetPT, MagicStatic.UntilEOT) {
|
|
|
|
@Override
|
|
|
|
public void modPowerToughness(final MagicPermanent source,final MagicPermanent permanent,final MagicPowerToughness pt) {
|
|
|
|
pt.set(2,2);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
def ST = new MagicStatic(MagicLayer.Type, MagicStatic.UntilEOT) {
|
|
|
|
@Override
|
|
|
|
public void modSubTypeFlags(
|
|
|
|
final MagicPermanent permanent,
|
|
|
|
final Set<MagicSubType> flags) {
|
|
|
|
flags.addAll(MagicSubType.ALL_CREATURES);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public int getTypeFlags(final MagicPermanent permanent,final int flags) {
|
|
|
|
return flags|MagicType.Creature.getMask();
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
[
|
|
|
|
new MagicArtificialCondition(
|
|
|
|
MagicConditionFactory.ManaCost("{2}")
|
|
|
|
)
|
|
|
|
],
|
|
|
|
new MagicActivationHints(MagicTiming.Animate),
|
|
|
|
"Animate"
|
|
|
|
) {
|
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
2013-05-30 05:26:06 -07:00
|
|
|
return [new MagicPayManaCostEvent(source,"{1}")];
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
2013-06-23 18:29:26 -07:00
|
|
|
"SN becomes a 2/2 creature with all creature types until end of turn. " +
|
2013-05-30 05:26:06 -07:00
|
|
|
"It's still a land."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
game.doAction(new MagicBecomesCreatureAction(event.getPermanent(),PT,ST));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|