mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Some small fixes.
This commit is contained in:
parent
f2165288a0
commit
87519e2577
2 changed files with 4 additions and 4 deletions
|
@ -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<AbruptDecay> {
|
|||
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());
|
||||
|
|
|
@ -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<mage.sets.returntoravnica.Counterflux>
|
|||
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));
|
||||
|
|
Loading…
Reference in a new issue