Fixed Bramble Sovereign triggering off itself

This commit is contained in:
Evan Kranzler 2018-05-31 09:10:27 -04:00
parent e4a9604086
commit b605a84b28

View file

@ -44,6 +44,7 @@ import mage.constants.SetTargetPointer;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterCreaturePermanent; import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.Predicates; import mage.filter.predicate.Predicates;
import mage.filter.predicate.permanent.AnotherPredicate;
import mage.filter.predicate.permanent.TokenPredicate; import mage.filter.predicate.permanent.TokenPredicate;
import mage.game.Game; import mage.game.Game;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
@ -58,6 +59,7 @@ public final class BrambleSovereign extends CardImpl {
static { static {
filter.add(Predicates.not(new TokenPredicate())); filter.add(Predicates.not(new TokenPredicate()));
filter.add(new AnotherPredicate());
} }
public BrambleSovereign(UUID ownerId, CardSetInfo setInfo) { public BrambleSovereign(UUID ownerId, CardSetInfo setInfo) {
@ -72,7 +74,7 @@ public final class BrambleSovereign extends CardImpl {
Zone.BATTLEFIELD, Zone.BATTLEFIELD,
new DoIfCostPaid(new BrambleSovereignEffect(), new ManaCostsImpl("{1}{G}")), new DoIfCostPaid(new BrambleSovereignEffect(), new ManaCostsImpl("{1}{G}")),
filter, false, SetTargetPointer.PERMANENT, filter, false, SetTargetPointer.PERMANENT,
"Whenever a nontoken creature enters the battlefield, you may pay {1}{G}. " "Whenever another nontoken creature enters the battlefield, you may pay {1}{G}. "
+ "If you do, that creature's controller creates a token that's a copy of that creature." + "If you do, that creature's controller creates a token that's a copy of that creature."
)); ));
} }