Removed redundant CantBeCounteredAbility (#7373)

This commit is contained in:
Daniel Bomar 2021-01-11 18:28:26 -06:00 committed by GitHub
parent 1b80ecb7b4
commit ed1133c338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 34 deletions

View file

@ -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());

View file

@ -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);
}
}