[NCC] fix Caldaia Guardian triggering off of opponent's creatures (fixes #9530)

This commit is contained in:
Evan Kranzler 2022-09-17 12:25:19 -04:00
parent 544989ce7c
commit adbebfdd3e

View file

@ -10,7 +10,7 @@ import mage.constants.CardType;
import mage.constants.ComparisonType; import mage.constants.ComparisonType;
import mage.constants.SubType; import mage.constants.SubType;
import mage.filter.FilterPermanent; import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent; import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.predicate.mageobject.ManaValuePredicate; import mage.filter.predicate.mageobject.ManaValuePredicate;
import mage.game.permanent.token.CitizenGreenWhiteToken; import mage.game.permanent.token.CitizenGreenWhiteToken;
@ -22,7 +22,7 @@ import java.util.UUID;
public final class CaldaiaGuardian extends CardImpl { public final class CaldaiaGuardian extends CardImpl {
private static final FilterPermanent filter private static final FilterPermanent filter
= new FilterCreaturePermanent("creature you control with mana value 4 or greater"); = new FilterControlledCreaturePermanent("creature you control with mana value 4 or greater");
static { static {
filter.add(new ManaValuePredicate(ComparisonType.MORE_THAN, 3)); filter.add(new ManaValuePredicate(ComparisonType.MORE_THAN, 3));