2013-08-09 02:03:06 -07:00
|
|
|
[
|
|
|
|
new MagicPermanentActivation(
|
|
|
|
[
|
|
|
|
MagicConditionFactory.ManaCost("{2}")
|
|
|
|
],
|
|
|
|
new MagicActivationHints(MagicTiming.Draw),
|
|
|
|
"Draw"
|
|
|
|
) {
|
|
|
|
|
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicPermanent source) {
|
2013-08-09 02:03:06 -07:00
|
|
|
return [
|
|
|
|
new MagicTapEvent(source),
|
|
|
|
new MagicSacrificeEvent(source),
|
|
|
|
new MagicPayManaCostEvent(source,"{1}")
|
|
|
|
];
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
|
|
|
"Draw a card."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
|
|
|
game.doAction(new MagicDrawAction(event.getPlayer()));
|
|
|
|
}
|
|
|
|
}
|
2013-08-10 18:40:52 -07:00
|
|
|
]
|