Fix Hand of Emrakul alternate cost

This commit is contained in:
Alex W. Jackson 2022-05-11 10:48:46 -04:00
parent 7992511cc0
commit c66955aa0a

View file

@ -11,7 +11,6 @@ import mage.cards.CardSetInfo;
import mage.constants.CardType; import mage.constants.CardType;
import mage.constants.SubType; import mage.constants.SubType;
import mage.filter.common.FilterControlledPermanent; import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.mageobject.NamePredicate;
import mage.target.common.TargetControlledPermanent; import mage.target.common.TargetControlledPermanent;
/** /**
@ -23,7 +22,8 @@ public final class HandOfEmrakul extends CardImpl {
private static final FilterControlledPermanent filter = new FilterControlledPermanent("Eldrazi Spawn"); private static final FilterControlledPermanent filter = new FilterControlledPermanent("Eldrazi Spawn");
static { static {
filter.add(new NamePredicate("Eldrazi Spawn")); filter.add(SubType.ELDRAZI.getPredicate());
filter.add(SubType.SPAWN.getPredicate());
} }
public HandOfEmrakul(UUID ownerId, CardSetInfo setInfo) { public HandOfEmrakul(UUID ownerId, CardSetInfo setInfo) {