added MagicTapTargetPicker.TapOrUntap

master
melvin 2013-08-04 14:42:21 +08:00
parent 117e058c8d
commit 0cf24d48f3
1 changed files with 7 additions and 0 deletions

View File

@ -26,4 +26,11 @@ public class MagicTapTargetPicker extends MagicTargetPicker<MagicPermanent> {
1 + permanent.getPower()+permanent.getActivations().size() :
0;
}
public static MagicTapTargetPicker TapOrUntap = new MagicTapTargetPicker(false) {
@Override
protected int getTargetScore(final MagicGame game,final MagicPlayer player,final MagicPermanent permanent) {
return 1 + permanent.getPower()+permanent.getActivations().size();
}
};
}