mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
fix Summon: Good King Mog XII, missing predicates on filter.
fixes #13872
This commit is contained in:
parent
5b87fffc2e
commit
6d6d3565a5
1 changed files with 7 additions and 0 deletions
|
|
@ -17,7 +17,9 @@ import mage.constants.*;
|
|||
import mage.counters.CounterType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.AnotherPredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.Game;
|
||||
import mage.game.events.GameEvent;
|
||||
import mage.game.permanent.Permanent;
|
||||
|
|
@ -121,6 +123,11 @@ class SummonGoodKingMogXIIEffect extends OneShotEffect {
|
|||
|
||||
private static final FilterPermanent filter = new FilterControlledPermanent("non-Saga token you control");
|
||||
|
||||
static {
|
||||
filter.add(Predicates.not(SubType.SAGA.getPredicate()));
|
||||
filter.add(TokenPredicate.TRUE);
|
||||
}
|
||||
|
||||
SummonGoodKingMogXIIEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "create a token that's a copy of a non-Saga token you control";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue