mirror of
https://github.com/correl/mage.git
synced 2025-01-12 03:00:13 +00:00
Removed redundant CantBeCounteredAbility (#7373)
This commit is contained in:
parent
1b80ecb7b4
commit
ed1133c338
2 changed files with 2 additions and 34 deletions
|
@ -1,7 +1,7 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.CantBeCounteredAbility;
|
||||
import mage.abilities.common.CantBeCounteredSourceAbility;
|
||||
import mage.abilities.common.EntersBattlefieldAbility;
|
||||
import mage.abilities.condition.common.KickedCondition;
|
||||
import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||
|
@ -32,7 +32,7 @@ public final class CragplateBaloth extends CardImpl {
|
|||
this.addAbility(new KickerAbility("{2}{G}"));
|
||||
|
||||
// This spell can't be countered.
|
||||
this.addAbility(new CantBeCounteredAbility());
|
||||
this.addAbility(new CantBeCounteredSourceAbility());
|
||||
|
||||
// Hexproof
|
||||
this.addAbility(HexproofAbility.getInstance());
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
|
||||
|
||||
package mage.abilities.common;
|
||||
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.abilities.effects.common.CantBeCounteredSourceEffect;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class CantBeCounteredAbility extends StaticAbility {
|
||||
|
||||
public CantBeCounteredAbility() {
|
||||
super(Zone.STACK, new CantBeCounteredSourceEffect());
|
||||
}
|
||||
|
||||
public CantBeCounteredAbility(CantBeCounteredAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getRule() {
|
||||
return "This spell can't be countered.";
|
||||
}
|
||||
|
||||
@Override
|
||||
public CantBeCounteredAbility copy() {
|
||||
return new CantBeCounteredAbility(this);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue