2013-02-20 06:15:00 -08:00
|
|
|
[
|
|
|
|
new MagicSpellCardEvent() {
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
MagicTargetChoice.TARGET_CREATURE_YOU_DONT_CONTROL,
|
2013-06-22 01:49:43 -07:00
|
|
|
new MagicWeakenTargetPicker(4, 0),
|
2013-02-20 06:15:00 -08:00
|
|
|
this,
|
|
|
|
"Target creature\$ you don't control gets -4/-0 until end of turn."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-07 01:44:36 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-03-21 06:35:09 -07:00
|
|
|
event.processTargetPermanent(game,new MagicPermanentAction() {
|
2013-02-20 06:15:00 -08:00
|
|
|
public void doAction(final MagicPermanent creature) {
|
|
|
|
game.doAction(new MagicChangeTurnPTAction(creature, -4, 0));
|
|
|
|
}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
2013-08-19 02:04:47 -07:00
|
|
|
new MagicOverloadActivation(MagicTiming.Removal) {
|
|
|
|
@Override
|
2013-08-30 21:00:50 -07:00
|
|
|
public Iterable<MagicEvent> getCostEvent(final MagicCard source) {
|
2013-02-20 06:15:00 -08:00
|
|
|
return [
|
2013-05-21 19:54:06 -07:00
|
|
|
new MagicPayManaCostEvent(source,"{2}{U}")
|
2013-02-20 06:15:00 -08:00
|
|
|
];
|
|
|
|
}
|
|
|
|
@Override
|
|
|
|
public MagicEvent getEvent(final MagicCardOnStack cardOnStack,final MagicPayedCost payedCost) {
|
|
|
|
return new MagicEvent(
|
|
|
|
cardOnStack,
|
|
|
|
this,
|
|
|
|
"Each creature you don't control gets -4/-0 until end of turn."
|
|
|
|
);
|
|
|
|
}
|
|
|
|
@Override
|
2013-06-07 01:44:36 -07:00
|
|
|
public void executeEvent(final MagicGame game, final MagicEvent event) {
|
2013-02-20 06:15:00 -08:00
|
|
|
final Collection<MagicPermanent> targets=
|
|
|
|
game.filterPermanents(event.getPlayer(),MagicTargetFilter.TARGET_CREATURE_YOUR_OPPONENT_CONTROLS);
|
|
|
|
for (final MagicPermanent creature : targets) {
|
|
|
|
game.doAction(new MagicChangeTurnPTAction(creature, -4, 0));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|