mirror of
https://github.com/magefree/mage.git
synced 2025-12-29 23:12:10 -08:00
Renamed CantCounter to CantBeCountered.
This commit is contained in:
parent
f77c930299
commit
8ea8e77b88
30 changed files with 78 additions and 78 deletions
|
|
@ -29,20 +29,20 @@
|
|||
package mage.abilities.common;
|
||||
|
||||
import mage.abilities.StaticAbility;
|
||||
import mage.abilities.effects.common.CantCounterSourceEffect;
|
||||
import mage.abilities.effects.common.CantBeCounteredSourceEffect;
|
||||
import mage.constants.Zone;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class CantCounterAbility extends StaticAbility {
|
||||
public class CantBeCounteredAbility extends StaticAbility {
|
||||
|
||||
public CantCounterAbility() {
|
||||
super(Zone.STACK, new CantCounterSourceEffect());
|
||||
public CantBeCounteredAbility() {
|
||||
super(Zone.STACK, new CantBeCounteredSourceEffect());
|
||||
}
|
||||
|
||||
public CantCounterAbility(CantCounterAbility ability) {
|
||||
public CantBeCounteredAbility(CantBeCounteredAbility ability) {
|
||||
super(ability);
|
||||
}
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ public class CantCounterAbility extends StaticAbility {
|
|||
}
|
||||
|
||||
@Override
|
||||
public CantCounterAbility copy() {
|
||||
return new CantCounterAbility(this);
|
||||
public CantBeCounteredAbility copy() {
|
||||
return new CantBeCounteredAbility(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -44,23 +44,23 @@ import mage.game.stack.Spell;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class CantCounterControlledEffect extends ContinuousRuleModifiyingEffectImpl {
|
||||
public class CantBeCounteredControlledEffect extends ContinuousRuleModifiyingEffectImpl {
|
||||
|
||||
private FilterSpell filterTarget;
|
||||
private FilterObject filterSource;
|
||||
|
||||
public CantCounterControlledEffect(FilterSpell filterTarget, FilterObject filterSource, Duration duration) {
|
||||
public CantBeCounteredControlledEffect(FilterSpell filterTarget, FilterObject filterSource, Duration duration) {
|
||||
super(duration, Outcome.Benefit);
|
||||
this.filterTarget = filterTarget;
|
||||
this.filterSource = filterSource;
|
||||
setText();
|
||||
}
|
||||
|
||||
public CantCounterControlledEffect(FilterSpell filterTarget, Duration duration) {
|
||||
public CantBeCounteredControlledEffect(FilterSpell filterTarget, Duration duration) {
|
||||
this(filterTarget, null, duration);
|
||||
}
|
||||
|
||||
public CantCounterControlledEffect(final CantCounterControlledEffect effect) {
|
||||
public CantBeCounteredControlledEffect(final CantBeCounteredControlledEffect effect) {
|
||||
super(effect);
|
||||
if (effect.filterTarget != null) {
|
||||
this.filterTarget = effect.filterTarget.copy();
|
||||
|
|
@ -71,8 +71,8 @@ public class CantCounterControlledEffect extends ContinuousRuleModifiyingEffectI
|
|||
}
|
||||
|
||||
@Override
|
||||
public CantCounterControlledEffect copy() {
|
||||
return new CantCounterControlledEffect(this);
|
||||
public CantBeCounteredControlledEffect copy() {
|
||||
return new CantBeCounteredControlledEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
@ -43,20 +43,20 @@ import mage.game.stack.StackObject;
|
|||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class CantCounterSourceEffect extends ContinuousRuleModifiyingEffectImpl {
|
||||
public class CantBeCounteredSourceEffect extends ContinuousRuleModifiyingEffectImpl {
|
||||
|
||||
public CantCounterSourceEffect() {
|
||||
public CantBeCounteredSourceEffect() {
|
||||
super(Duration.WhileOnStack, Outcome.Benefit, false, true);
|
||||
staticText = "{this} can't be countered";
|
||||
}
|
||||
|
||||
public CantCounterSourceEffect(final CantCounterSourceEffect effect) {
|
||||
public CantBeCounteredSourceEffect(final CantBeCounteredSourceEffect effect) {
|
||||
super(effect);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CantCounterSourceEffect copy() {
|
||||
return new CantCounterSourceEffect(this);
|
||||
public CantBeCounteredSourceEffect copy() {
|
||||
return new CantBeCounteredSourceEffect(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
Loading…
Add table
Add a link
Reference in a new issue