public DiscardTargetEffect(final DiscardTargetEffect effect) { super(effect); this.amount = effect.amount.copy(); this.randomDiscard = effect.randomDiscard; }
public DrawCardTargetEffect(DynamicValue amount, boolean optional, boolean upto) { super(Outcome.DrawCard); this.amount = amount.copy(); this.optional = optional; this.upTo = upto; }
public LookLibraryControllerEffect(final LookLibraryControllerEffect effect) { super(effect); this.numberOfCards = effect.numberOfCards.copy(); this.mayShuffleAfter = effect.mayShuffleAfter; this.targetZoneLookedCards = effect.targetZoneLookedCards; this.putOnTop = effect.putOnTop; this.backInRandomOrder = effect.backInRandomOrder; }
public DamageTargetEffect(final DamageTargetEffect effect) { super(effect); this.amount = effect.amount.copy(); this.preventable = effect.preventable; this.targetDescription = effect.targetDescription; this.useOnlyTargetPointer = effect.useOnlyTargetPointer; this.sourceName = effect.sourceName; }
public LoseLifeDefendingPlayerEffect(final LoseLifeDefendingPlayerEffect effect) { super(effect); this.amount = effect.amount.copy(); this.attackerIsSource = effect.attackerIsSource; }
public DiscardControllerEffect(final DiscardControllerEffect effect) { super(effect); this.amount = effect.amount.copy(); this.randomDiscard = effect.randomDiscard; }
public SkeletalScryingEffect(DynamicValue amount) { super(Outcome.Neutral); this.amount = amount.copy(); staticText = "You draw " + amount + " cards and you lose " + amount + " life"; }
public DamageTargetControllerEffect(final DamageTargetControllerEffect effect) { super(effect); amount = effect.amount.copy(); preventable = effect.preventable; }
public MultipliedValue(DynamicValue value, int multiplier) { this.value = value.copy(); this.multiplier = multiplier; }
public BecomesCreatureSourceEffect(final BecomesCreatureSourceEffect effect) { super(effect); this.token = effect.token.copy(); this.theyAreStillType = effect.theyAreStillType; this.losePreviousTypes = effect.losePreviousTypes;this.loseAbilities=effect.loseAbilities; if (effect.power != null) { this.power = effect.power.copy(); } if (effect.toughness != null) { this.toughness = effect.toughness.copy(); } }
public BrokenAmbitionsEffect(final BrokenAmbitionsEffect effect) { super(effect); if (effect.cost != null) { this.cost = effect.cost.copy(); } if (effect.genericMana != null) { this.genericMana = effect.genericMana.copy(); } }
public DrawCardSourceControllerEffect(DynamicValue amount, String whoDrawCard) { super(Outcome.DrawCard); this.amount = amount.copy(); this.whoDrawCard = whoDrawCard; setText(); }
public CreateTokenEffect(Token token, DynamicValue amount, boolean tapped, boolean attacking) { super(Outcome.PutCreatureInPlay); this.token = token; this.amount = amount.copy(); this.tapped = tapped; this.attacking = attacking; setText(); }
public CreateTokenEffect(final CreateTokenEffect effect) { super(effect); this.amount = effect.amount.copy(); this.token = effect.token.copy(); this.tapped = effect.tapped; this.attacking = effect.attacking; this.lastAddedTokenId = effect.lastAddedTokenId; this.lastAddedTokenIds.addAll(effect.lastAddedTokenIds); }
public DrawCardSourceControllerEffect(final DrawCardSourceControllerEffect effect) { super(effect); this.amount = effect.amount.copy(); this.whoDrawCard = effect.whoDrawCard; setText(); }
public DoUnlessAnyPlayerPaysEffect(final DoUnlessAnyPlayerPaysEffect effect) { super(effect); if (effect.cost != null) { this.cost = effect.cost.copy(); } if (effect.genericMana != null) { this.genericMana = effect.genericMana.copy(); } this.executingEffects = effect.executingEffects.copy(); this.chooseUseText = effect.chooseUseText; }