forked from External/mage
[filters] Replaced TargetController condition with Predicate
This commit is contained in:
parent
021e2b59df
commit
4563e518a6
76 changed files with 235 additions and 191 deletions
|
|
@ -34,6 +34,7 @@ import mage.abilities.dynamicvalue.common.PermanentsOnBattlefieldCount;
|
|||
import mage.abilities.effects.common.PutLibraryIntoGraveTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterLandPermanent;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
|
@ -48,7 +49,7 @@ public class Dreadwaters extends CardImpl<Dreadwaters> {
|
|||
private static final FilterLandPermanent filter = new FilterLandPermanent("lands you control");
|
||||
|
||||
static {
|
||||
filter.setTargetController(Constants.TargetController.YOU);
|
||||
filter.add(new ControllerPredicate(Constants.TargetController.YOU));
|
||||
}
|
||||
|
||||
public Dreadwaters(UUID ownerId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue