diff --git a/Mage.Sets/src/mage/sets/returntoravnica/AbruptDecay.java b/Mage.Sets/src/mage/sets/returntoravnica/AbruptDecay.java index 35153390e2..2ab8530723 100644 --- a/Mage.Sets/src/mage/sets/returntoravnica/AbruptDecay.java +++ b/Mage.Sets/src/mage/sets/returntoravnica/AbruptDecay.java @@ -31,7 +31,7 @@ package mage.sets.returntoravnica; import java.util.UUID; import mage.Constants.CardType; import mage.Constants.Rarity; -import mage.abilities.common.CantCounterAbility; +import mage.abilities.effects.common.CantCounterSourceEffect; import mage.abilities.effects.common.DestroyTargetEffect; import mage.cards.CardImpl; import mage.filter.Filter; @@ -58,7 +58,7 @@ public class AbruptDecay extends CardImpl { this.color.setBlack(true); // Abrupt Decay can't be countered by spells or abilities. - this.addAbility(new CantCounterAbility()); + this.getSpellAbility().addEffect(new CantCounterSourceEffect()); // Destroy target nonland permanent with converted mana cost 3 or less. this.getSpellAbility().addEffect(new DestroyTargetEffect()); diff --git a/Mage.Sets/src/mage/sets/returntoravnica/Counterflux.java b/Mage.Sets/src/mage/sets/returntoravnica/Counterflux.java index 770f3d40a5..09abc814f0 100644 --- a/Mage.Sets/src/mage/sets/returntoravnica/Counterflux.java +++ b/Mage.Sets/src/mage/sets/returntoravnica/Counterflux.java @@ -33,9 +33,9 @@ import java.util.UUID; import mage.Constants; import mage.Constants.Outcome; import mage.abilities.Ability; -import mage.abilities.common.CantCounterAbility; import mage.abilities.costs.mana.ManaCostsImpl; import mage.abilities.effects.OneShotEffect; +import mage.abilities.effects.common.CantCounterSourceEffect; import mage.abilities.effects.common.CounterTargetEffect; import mage.abilities.keyword.OverloadAbility; import mage.cards.CardImpl; @@ -67,7 +67,7 @@ public class Counterflux extends CardImpl this.color.setRed(true); // Counterflux can't be countered by spells or abilities. - this.addAbility(new CantCounterAbility()); + this.getSpellAbility().addEffect(new CantCounterSourceEffect()); // Counter target spell you don't control. this.getSpellAbility().addTarget(new TargetSpell(filter));