forked from External/mage
* Vindictive Lich (mode target handling not fixed yet).
This commit is contained in:
parent
791722e468
commit
9ac7fe27f0
7 changed files with 273 additions and 109 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue