mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
Fixed Bramble Sovereign triggering off itself
This commit is contained in:
parent
e4a9604086
commit
b605a84b28
1 changed files with 3 additions and 1 deletions
|
|
@ -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."
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue