2013-03-01 17:17:44 -08:00
|
|
|
[
|
2013-03-01 17:57:26 -08:00
|
|
|
new MagicPlaneswalkerActivation(1) {
|
2013-03-01 17:17:44 -08:00
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
new MagicMayChoice(
|
|
|
|
MagicTargetChoice.POS_TARGET_CREATURE
|
|
|
|
),
|
|
|
|
MagicPumpTargetPicker.create(),
|
|
|
|
this,
|
|
|
|
"PN may\$ put a +1/+1 counter on target creature\$."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicEvent event,
|
|
|
|
final Object[] choiceResults) {
|
|
|
|
if (MagicMayChoice.isYesChoice(choiceResults[0])) {
|
2013-03-20 06:36:49 -07:00
|
|
|
event.processTargetPermanent(game,choiceResults,new MagicPermanentAction() {
|
2013-03-01 17:17:44 -08:00
|
|
|
public void doAction(final MagicPermanent creature) {
|
|
|
|
game.doAction(new MagicChangeCountersAction(creature,MagicCounterType.PlusOne,1,true));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2013-03-01 17:57:26 -08:00
|
|
|
new MagicPlaneswalkerActivation(-3) {
|
2013-03-01 17:17:44 -08:00
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
MagicTargetChoice.POS_TARGET_CREATURE,
|
|
|
|
MagicFlyingTargetPicker.create(),
|
|
|
|
this,
|
|
|
|
"Target creature\$ gains flying and double strike until end of turn."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicEvent event,
|
|
|
|
final Object[] choiceResults) {
|
2013-03-20 06:36:49 -07:00
|
|
|
event.processTargetPermanent(game,choiceResults,new MagicPermanentAction() {
|
2013-03-01 17:17:44 -08:00
|
|
|
public void doAction(final MagicPermanent creature) {
|
|
|
|
game.doAction(new MagicSetAbilityAction(creature,MagicAbility.Flying,MagicAbility.DoubleStrike));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
2013-03-01 17:57:26 -08:00
|
|
|
new MagicPlaneswalkerActivation(-8) {
|
2013-03-01 17:17:44 -08:00
|
|
|
@Override
|
|
|
|
public MagicEvent getPermanentEvent(final MagicPermanent source,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
source,
|
|
|
|
this,
|
|
|
|
"Put X 2/2 white Cat creature tokens onto the battlefield, where X is your life total."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public void executeEvent(
|
|
|
|
final MagicGame game,
|
|
|
|
final MagicEvent event,
|
|
|
|
final Object[] choiceResults) {
|
|
|
|
final int amt = event.getPlayer().getLife();
|
|
|
|
game.doAction(new MagicPlayTokensAction(event.getPlayer(), TokenCardDefinitions.get("Cat2"), amt));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|