Morcant's Loyalist should not be able to target itself in the graveyard (#14235)

This commit is contained in:
Muz 2026-01-10 12:46:09 -06:00 committed by GitHub
parent 14f79aeda9
commit 87432700f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,7 @@ import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.constants.SubType;
import mage.filter.FilterCard;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.mageobject.AnotherPredicate;
import mage.target.common.TargetCardInYourGraveyard;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
@ -25,6 +26,9 @@ public final class MorcantsLoyalist extends CardImpl {
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent(SubType.ELF, "Elves");
private static final FilterCard filter2 = new FilterCard(SubType.ELF, "another target Elf card from your graveyard");
static {
filter2.add(AnotherPredicate.instance);
}
public MorcantsLoyalist(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}{G}");