mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 12:49:39 -08:00
Fixed cards that broken whole server (see #4402)
This commit is contained in:
parent
7c2511355e
commit
af113d4ed1
4 changed files with 16 additions and 11 deletions
|
|
@ -88,6 +88,7 @@ class TargetControlledPermanentSharingOpponentPermanentCardType extends TargetCo
|
|||
|
||||
public TargetControlledPermanentSharingOpponentPermanentCardType() {
|
||||
super();
|
||||
this.filter = this.filter.copy();
|
||||
filter.add(Predicates.not(new CardTypePredicate(CardType.LAND)));
|
||||
setTargetName("nonland permanent you control");
|
||||
}
|
||||
|
|
@ -155,6 +156,7 @@ class DaringThiefSecondTarget extends TargetPermanent {
|
|||
|
||||
public DaringThiefSecondTarget() {
|
||||
super();
|
||||
this.filter = this.filter.copy();
|
||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
setTargetName("permanent an opponent controls that shares a card type with it");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,6 +81,7 @@ class TargetControlledPermanentWithCMCGreaterOrLessThanOpponentPermanent extends
|
|||
|
||||
public TargetControlledPermanentWithCMCGreaterOrLessThanOpponentPermanent() {
|
||||
super();
|
||||
this.filter = this.filter.copy();
|
||||
filter.add(Predicates.not(new CardTypePredicate(CardType.LAND)));
|
||||
setTargetName("nonland permanent you control");
|
||||
}
|
||||
|
|
@ -118,6 +119,7 @@ class PucasMischiefSecondTarget extends TargetPermanent {
|
|||
|
||||
public PucasMischiefSecondTarget() {
|
||||
super();
|
||||
this.filter = this.filter.copy();
|
||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
filter.add(Predicates.not(new CardTypePredicate(CardType.LAND)));
|
||||
setTargetName("permanent an opponent controls with an equal or lesser converted mana cost");
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ class TargetControlledCreatureWithPowerGreaterOrLessThanOpponentPermanent extend
|
|||
|
||||
public TargetControlledCreatureWithPowerGreaterOrLessThanOpponentPermanent() {
|
||||
super();
|
||||
this.filter = this.filter.copy();
|
||||
filter.add(new CardTypePredicate(CardType.CREATURE));
|
||||
setTargetName("creature you control");
|
||||
}
|
||||
|
|
@ -123,6 +124,7 @@ class SpawnbrokerSecondTarget extends TargetPermanent {
|
|||
|
||||
public SpawnbrokerSecondTarget() {
|
||||
super();
|
||||
this.filter = this.filter.copy();
|
||||
filter.add(new ControllerPredicate(TargetController.OPPONENT));
|
||||
filter.add(new CardTypePredicate(CardType.CREATURE));
|
||||
setTargetName("creature with power less than or equal to that creature's power an opponent controls");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue