[IKO] Barrier Breach - fixed text;

This commit is contained in:
Oleg Agafonov 2020-04-19 21:00:10 +04:00
parent 4e5dea5097
commit 36cd0dd91e

View file

@ -6,6 +6,7 @@ import mage.abilities.keyword.CyclingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.common.FilterEnchantmentPermanent;
import mage.target.common.TargetEnchantmentPermanent;
import java.util.UUID;
@ -20,7 +21,8 @@ public final class BarrierBreach extends CardImpl {
// Exile up to three target enchantments.
this.getSpellAbility().addEffect(new ExileTargetEffect());
this.getSpellAbility().addTarget(new TargetEnchantmentPermanent(0, 3));
this.getSpellAbility().addTarget(new TargetEnchantmentPermanent(0, 3,
new FilterEnchantmentPermanent("enchantments"), false));
// Cycling {2}
this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));