mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
Renamed DynamicValue.clone to DynamicValue.copy
This commit is contained in:
parent
5305c3bfaa
commit
5dbe482662
70 changed files with 80 additions and 80 deletions
|
@ -96,7 +96,7 @@ class AnathemancerCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new AnathemancerCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ class HighestLifeTotalAmongOpponentsCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CardsInControllerHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@ class TappedCreaturesControlledByTargetCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new TappedCreaturesControlledByTargetCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -199,7 +199,7 @@ class CardsInTargetHandCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CardsInTargetHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ class ZuberasDiedDynamicValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public ZuberasDiedDynamicValue clone() {
|
||||
public ZuberasDiedDynamicValue copy() {
|
||||
return new ZuberasDiedDynamicValue();
|
||||
}
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ class SilentChantZuberaDynamicValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public SilentChantZuberaDynamicValue clone() {
|
||||
public SilentChantZuberaDynamicValue copy() {
|
||||
return new SilentChantZuberaDynamicValue();
|
||||
}
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@ class CursesAttachedCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CursesAttachedCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@ class CardsInTargetPlayerHandCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new mage.abilities.dynamicvalue.common.CardsInControllerHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ class HalfZombiesCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new HalfZombiesCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ class GarrukTheVeilCursedValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -176,7 +176,7 @@ class GutterGrimeCounters implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public GutterGrimeCounters clone() {
|
||||
public GutterGrimeCounters copy() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@ class RunechantersPikeValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -104,7 +104,7 @@ class ChandraNalaarXValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return defaultValue;
|
||||
}
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ class SuturedGhoulPowerCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return getInstance();
|
||||
}
|
||||
|
||||
|
@ -202,7 +202,7 @@ class SuturedGhoulToughnessCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return getInstance();
|
||||
}
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ class GolemSkinGauntletsAttachedCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new GolemSkinGauntletsAttachedCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -123,7 +123,7 @@ class FreshMeatDynamicValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public FreshMeatDynamicValue clone() {
|
||||
public FreshMeatDynamicValue copy() {
|
||||
return new FreshMeatDynamicValue();
|
||||
}
|
||||
|
||||
|
|
|
@ -87,7 +87,7 @@ class IchorExplosionDynamicValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ class OpponentsPoisonCountersCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new OpponentsPoisonCountersCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ class CivicSaberColorCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CivicSaberColorCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ class CardsInEnchantedControllerHandCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new mage.abilities.dynamicvalue.common.CardsInControllerHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@ class MyrBattlesphereEffect extends OneShotEffect<MyrBattlesphereEffect> {
|
|||
|
||||
public MyrBattlesphereEffect(final MyrBattlesphereEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -140,7 +140,7 @@ class SameNameAsExiledCountValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@ class BlessedReversalCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@ class MotltenHydraDynamicValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public MotltenHydraDynamicValue clone() {
|
||||
public MotltenHydraDynamicValue copy() {
|
||||
return new MotltenHydraDynamicValue(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ class CardsInHandCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CardsInHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@ class BoldDefensePTCount implements DynamicValue {
|
|||
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new BoldDefensePTCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@ class TargetPlayerCardsInHandCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new TargetPlayerCardsInHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -7,6 +7,6 @@ import java.io.Serializable;
|
|||
|
||||
public interface DynamicValue extends Serializable {
|
||||
int calculate(Game game, Ability sourceAbility);
|
||||
DynamicValue clone();
|
||||
DynamicValue copy();
|
||||
String getMessage();
|
||||
}
|
||||
|
|
|
@ -72,7 +72,7 @@ public class AuraAttachedCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new AuraAttachedCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ public class CardsInAllGraveyardsCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CardsInAllGraveyardsCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class CardsInControllerGraveyardCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CardsInControllerGraveyardCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ public class CardsInControllerHandCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CardsInControllerHandCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ public class ControllerLifeCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new ControllerLifeCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ public class CountersCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new CountersCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class DiscardCostCardConvertedMana implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new DiscardCostCardConvertedMana();
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ public class DomainValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new DomainValue(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ public class EquipmentAttachedCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new EquipmentAttachedCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ public class ExileFromHandCostCardConvertedMana implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new ExileFromHandCostCardConvertedMana();
|
||||
}
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ public class GetXValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public GetXValue clone() {
|
||||
public GetXValue copy() {
|
||||
return new GetXValue();
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public class ManaTypeInManaPoolCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new ManaTypeInManaPoolCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ public class ManacostVariableValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new ManacostVariableValue();
|
||||
}
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ public class MultikickerCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new MultikickerCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ public class OpponentsLostLifeCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new OpponentsLostLifeCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public class PermanentsOnBattlefieldCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new PermanentsOnBattlefieldCount(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class SacrificeCostCreaturesPower implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new SacrificeCostCreaturesPower();
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class SacrificeCostCreaturesToughness implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new SacrificeCostCreaturesToughness();
|
||||
}
|
||||
|
||||
|
|
|
@ -8,11 +8,11 @@ public class SignInversionDynamicValue implements DynamicValue {
|
|||
private DynamicValue value;
|
||||
|
||||
public SignInversionDynamicValue(DynamicValue value) {
|
||||
this.value = value.clone();
|
||||
this.value = value.copy();
|
||||
}
|
||||
|
||||
SignInversionDynamicValue(final SignInversionDynamicValue dynamicValue) {
|
||||
this.value = dynamicValue.value.clone();
|
||||
this.value = dynamicValue.value.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -21,7 +21,7 @@ public class SignInversionDynamicValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new SignInversionDynamicValue(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ public class SourcePermanentPowerCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new SourcePermanentPowerCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ public class StaticValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new StaticValue(this);
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ public class SunburstCount implements DynamicValue{
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new SunburstCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public class TargetConvertedManaCost implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new TargetConvertedManaCost();
|
||||
}
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ public class TargetPermanentPowerCount implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new TargetPermanentPowerCount();
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ public class UrzaTerrainValue implements DynamicValue {
|
|||
}
|
||||
|
||||
@Override
|
||||
public DynamicValue clone() {
|
||||
public DynamicValue copy() {
|
||||
return new UrzaTerrainValue(v);
|
||||
}
|
||||
|
||||
|
|
|
@ -56,13 +56,13 @@ public class CreateTokenEffect extends OneShotEffect<CreateTokenEffect> {
|
|||
public CreateTokenEffect(Token token, DynamicValue amount) {
|
||||
super(Outcome.PutCreatureInPlay);
|
||||
this.token = token;
|
||||
this.amount = amount.clone();
|
||||
this.amount = amount.copy();
|
||||
setText();
|
||||
}
|
||||
|
||||
public CreateTokenEffect(final CreateTokenEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
this.token = effect.token.copy();
|
||||
}
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class CreateTokenTargetEffect extends OneShotEffect<CreateTokenTargetEffe
|
|||
public CreateTokenTargetEffect(Token token, DynamicValue amount) {
|
||||
super(Constants.Outcome.PutCreatureInPlay);
|
||||
this.token = token;
|
||||
this.amount = amount.clone();
|
||||
this.amount = amount.copy();
|
||||
}
|
||||
|
||||
public CreateTokenTargetEffect(final CreateTokenTargetEffect effect) {
|
||||
|
|
|
@ -90,7 +90,7 @@ public class DamageTargetEffect extends OneShotEffect<DamageTargetEffect> {
|
|||
|
||||
public DamageTargetEffect(final DamageTargetEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
this.preventable = effect.preventable;
|
||||
this.targetDescription = effect.targetDescription;
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public class DiscardControllerEffect extends OneShotEffect<DiscardControllerEffe
|
|||
|
||||
public DiscardControllerEffect(final DiscardControllerEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -66,7 +66,7 @@ public class DiscardTargetEffect extends OneShotEffect<DiscardTargetEffect> {
|
|||
|
||||
public DiscardTargetEffect(final DiscardTargetEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
this.randomDiscard = effect.randomDiscard;
|
||||
}
|
||||
|
||||
|
|
|
@ -50,13 +50,13 @@ public class DrawCardControllerEffect extends OneShotEffect<DrawCardControllerEf
|
|||
|
||||
public DrawCardControllerEffect(DynamicValue amount) {
|
||||
super(Outcome.DrawCard);
|
||||
this.amount = amount.clone();
|
||||
this.amount = amount.copy();
|
||||
setText();
|
||||
}
|
||||
|
||||
public DrawCardControllerEffect(final DrawCardControllerEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -51,12 +51,12 @@ public class DrawCardTargetEffect extends OneShotEffect<DrawCardTargetEffect> {
|
|||
|
||||
public DrawCardTargetEffect(DynamicValue amount) {
|
||||
super(Outcome.DrawCard);
|
||||
this.amount = amount.clone();
|
||||
this.amount = amount.copy();
|
||||
}
|
||||
|
||||
public DrawCardTargetEffect(final DrawCardTargetEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -51,7 +51,7 @@ public class DynamicManaEffect extends BasicManaEffect {
|
|||
public DynamicManaEffect(final DynamicManaEffect effect) {
|
||||
super(effect);
|
||||
this.computedMana = effect.computedMana.copy();
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -56,7 +56,7 @@ public class GainLifeEffect extends OneShotEffect<GainLifeEffect> {
|
|||
|
||||
public GainLifeEffect(final GainLifeEffect effect) {
|
||||
super(effect);
|
||||
this.life = effect.life.clone();
|
||||
this.life = effect.life.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -73,7 +73,7 @@ public class LookLibraryAndPickControllerEffect extends LookLibraryControllerEff
|
|||
|
||||
public LookLibraryAndPickControllerEffect(final LookLibraryAndPickControllerEffect effect) {
|
||||
super(effect);
|
||||
this.numberToPick = effect.numberToPick.clone();
|
||||
this.numberToPick = effect.numberToPick.copy();
|
||||
this.filter = effect.filter.copy();
|
||||
this.revealPickedCards = effect.revealPickedCards;
|
||||
this.targetPickedCards = effect.targetPickedCards;
|
||||
|
|
|
@ -91,7 +91,7 @@ public class LookLibraryControllerEffect extends OneShotEffect<LookLibraryContro
|
|||
|
||||
public LookLibraryControllerEffect(final LookLibraryControllerEffect effect) {
|
||||
super(effect);
|
||||
this.numberOfCards = effect.numberOfCards.clone();
|
||||
this.numberOfCards = effect.numberOfCards.copy();
|
||||
this.mayShuffleAfter = effect.mayShuffleAfter;
|
||||
this.targetZoneLookedCards = effect.targetZoneLookedCards;
|
||||
this.putOnTop = effect.putOnTop;
|
||||
|
|
|
@ -56,7 +56,7 @@ public class LoseLifeTargetEffect extends OneShotEffect<LoseLifeTargetEffect> {
|
|||
|
||||
public LoseLifeTargetEffect(final LoseLifeTargetEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -58,7 +58,7 @@ public class PutLibraryIntoGraveTargetEffect extends OneShotEffect<PutLibraryInt
|
|||
|
||||
public PutLibraryIntoGraveTargetEffect(final PutLibraryIntoGraveTargetEffect effect) {
|
||||
super(effect);
|
||||
this.amount = effect.amount.clone();
|
||||
this.amount = effect.amount.copy();
|
||||
}
|
||||
|
||||
public void setAmount(DynamicValue value) {
|
||||
|
|
|
@ -69,8 +69,8 @@ public class BoostEnchantedEffect extends ContinuousEffectImpl<BoostEnchantedEff
|
|||
|
||||
public BoostEnchantedEffect(final BoostEnchantedEffect effect) {
|
||||
super(effect);
|
||||
this.power = effect.power.clone();
|
||||
this.toughness = effect.toughness.clone();
|
||||
this.power = effect.power.copy();
|
||||
this.toughness = effect.toughness.copy();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -73,8 +73,8 @@ public class BoostEquippedEffect extends ContinuousEffectImpl<BoostEquippedEffec
|
|||
|
||||
public BoostEquippedEffect(final BoostEquippedEffect effect) {
|
||||
super(effect);
|
||||
this.power = effect.power.clone();
|
||||
this.toughness = effect.toughness.clone();
|
||||
this.power = effect.power.copy();
|
||||
this.toughness = effect.toughness.copy();
|
||||
this.fixedTarget = effect.fixedTarget;
|
||||
}
|
||||
|
||||
|
|
|
@ -69,8 +69,8 @@ public class BoostSourceEffect extends ContinuousEffectImpl<BoostSourceEffect> i
|
|||
|
||||
public BoostSourceEffect(final BoostSourceEffect effect) {
|
||||
super(effect);
|
||||
this.power = effect.power.clone();
|
||||
this.toughness = effect.toughness.clone();
|
||||
this.power = effect.power.copy();
|
||||
this.toughness = effect.toughness.copy();
|
||||
this.lockedIn = effect.lockedIn;
|
||||
}
|
||||
|
||||
|
|
|
@ -72,8 +72,8 @@ public class BoostTargetEffect extends ContinuousEffectImpl<BoostTargetEffect> {
|
|||
|
||||
public BoostTargetEffect(final BoostTargetEffect effect) {
|
||||
super(effect);
|
||||
this.power = effect.power.clone();
|
||||
this.toughness = effect.toughness.clone();
|
||||
this.power = effect.power.copy();
|
||||
this.toughness = effect.toughness.copy();
|
||||
this.lockedIn = effect.lockedIn;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue