fix filter on Guardian of Faith

This commit is contained in:
xenohedron 2023-12-09 16:00:25 -05:00
parent 1006115912
commit 4bb39f9078

View file

@ -12,6 +12,7 @@ import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.predicate.mageobject.AnotherPredicate;
import mage.target.common.TargetControlledCreaturePermanent;
/**
@ -21,6 +22,9 @@ import mage.target.common.TargetControlledCreaturePermanent;
public final class GuardianOfFaith extends CardImpl {
private static final FilterControlledCreaturePermanent filter = new FilterControlledCreaturePermanent("other target creatures you control");
static {
filter.add(AnotherPredicate.instance);
}
public GuardianOfFaith(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}{W}");