* Vindictive Lich (mode target handling not fixed yet).

This commit is contained in:
LevelX2 2017-08-21 18:49:37 +02:00
parent 791722e468
commit 9ac7fe27f0
7 changed files with 273 additions and 109 deletions

View file

@ -27,9 +27,7 @@
*/
package mage.target.common;
import mage.constants.TargetController;
import mage.filter.FilterPlayer;
import mage.filter.predicate.other.PlayerPredicate;
import mage.filter.FilterOpponent;
import mage.target.TargetPlayer;
/**
@ -44,9 +42,11 @@ public class TargetOpponent extends TargetPlayer {
}
public TargetOpponent(boolean notTarget) {
super(1, 1, false, new FilterPlayer("opponent"));
this.filter.add(new PlayerPredicate(TargetController.OPPONENT));
setNotTarget(notTarget);
this(new FilterOpponent(), notTarget);
}
public TargetOpponent(FilterOpponent filter, boolean notTarget) {
super(1, 1, notTarget, filter);
}
public TargetOpponent(final TargetOpponent target) {