fix Perilous Research (#10592)

This commit is contained in:
Susucre 2023-07-08 19:08:57 +02:00 committed by GitHub
parent 2b2d3b979e
commit 5006ecc820
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
package mage.cards.p;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.SacrificeEffect;
import mage.abilities.effects.common.SacrificeControllerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
@ -21,7 +21,7 @@ public final class PerilousResearch extends CardImpl {
// Draw two cards, then sacrifice a permanent.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2));
this.getSpellAbility().addEffect(new SacrificeEffect(StaticFilters.FILTER_PERMANENT_A, 1, ", then"));
this.getSpellAbility().addEffect(new SacrificeControllerEffect(StaticFilters.FILTER_PERMANENT_A, 1, ", then"));
}
private PerilousResearch(final PerilousResearch card) {