Fix Olivia, Crimson Bride (#10397)

This commit is contained in:
xenohedron 2023-05-29 19:15:19 -04:00 committed by GitHub
parent c12058744d
commit 94a4642b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,7 @@ import mage.cards.CardSetInfo;
import mage.constants.*; import mage.constants.*;
import mage.filter.FilterPermanent; import mage.filter.FilterPermanent;
import mage.filter.StaticFilters; import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledPermanent;
import mage.game.Game; import mage.game.Game;
import mage.game.events.GameEvent; import mage.game.events.GameEvent;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
@ -102,7 +103,7 @@ class OliviaCrimsonBrideEffect extends OneShotEffect {
class OliviaCrimsonBrideAbility extends StateTriggeredAbility { class OliviaCrimsonBrideAbility extends StateTriggeredAbility {
private static final FilterPermanent filter = new FilterPermanent(); private static final FilterPermanent filter = new FilterControlledPermanent();
static { static {
filter.add(SuperType.LEGENDARY.getPredicate()); filter.add(SuperType.LEGENDARY.getPredicate());