public AssignNoCombatDamageSourceEffect(Duration duration, boolean partOfOptionalEffect) { super(duration, Outcome.PreventDamage); this.partOfOptionalEffect = partOfOptionalEffect; staticText = setText(); }
public UntapAllDuringEachOtherPlayersUntapStepEffect(FilterPermanent filter) { super(Duration.WhileOnBattlefield, Outcome.Untap); this.filter = filter; staticText = setStaticText(); }
public BecomesCreatureSourceEffect(Token token, String theyAreStillType, Duration duration, boolean losePreviousTypes, boolean characterDefining, DynamicValue power, DynamicValue toughness, boolean loseAbilities) { super(duration, Outcome.BecomeCreature); this.characterDefining = characterDefining; this.token = token; this.theyAreStillType = theyAreStillType; this.losePreviousTypes = losePreviousTypes; this.power = power; this.toughness = toughness;this.loseAbilities=loseAbilities; setText(); this.addDependencyType(DependencyType.BecomeCreature); }
public MaximumHandSizeControllerEffect(DynamicValue handSize, Duration duration, HandSizeModification handSizeModification, TargetController targetController) { super(duration, Layer.PlayerEffects, SubLayer.NA, defineOutcome(handSizeModification, targetController)); this.handSize = handSize; this.handSizeModification = handSizeModification; this.targetController = targetController; setText(); }
@Override public BecomesBlackZombieAdditionEffect copy() { return new BecomesBlackZombieAdditionEffect(this); } }
@Override public BecomesCreatureIfVehicleEffect copy() { return new BecomesCreatureIfVehicleEffect(this); } }
public BecomesCreatureTypeTargetEffect(Duration duration, SubTypeList subtypes, boolean loseOther) { super(duration, Outcome.Detriment); this.subtypes = subtypes; this.staticText = setText(); this.loseOther = loseOther; }
public BoostEquippedEffect(DynamicValue powerDynamicValue, DynamicValue toughnessDynamicValue, Duration duration) { super(duration, Layer.PTChangingEffects_7, SubLayer.ModifyPT_7c, Outcome.BoostCreature); this.power = powerDynamicValue; this.toughness = toughnessDynamicValue; if (duration == Duration.EndOfTurn) { fixedTarget = true; } setText(); }
public AddCardSubtypeAttachedEffect(SubType addedSubtype, Duration duration, AttachmentType attachmentType) { super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); this.addedSubtype = addedSubtype; this.attachmentType = attachmentType; setText(); }
public BecomesBlackZombieAdditionEffect() { super(Duration.Custom, Outcome.Neutral); this.giveBlackColor = true; updateText(); }
public AddCardTypeAttachedEffect(CardType addedCardType, Duration duration, AttachmentType attachmentType) { super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); this.addedCardType = addedCardType; this.attachmentType = attachmentType; setText(); }
public AddCardSubtypeAllEffect(FilterPermanent _filter, SubType _addedSubtype, DependencyType _dependency) { super(Duration.WhileOnBattlefield, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); filter = _filter; staticText = ""; addedSubtype = _addedSubtype; addDependencyType(_dependency); }
public CreaturesCantGetOrHaveAbilityEffect(Ability ability, Duration duration, FilterCreaturePermanent filter) { super(duration, Outcome.Detriment); this.ability = ability; this.filter = filter; setText(); }
public BoostOpponentsEffect(int power, int toughness, Duration duration, FilterCreaturePermanent filter) { super(duration, Layer.PTChangingEffects_7, SubLayer.ModifyPT_7c, toughness < 0 ? Outcome.UnboostCreature : Outcome.BoostCreature); this.power = power; this.toughness = toughness; this.filter = filter; setText(); }
public AddCardSuperTypeAttachedEffect(SuperType addedSuperType, Duration duration, AttachmentType attachmentType) { super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); this.addedSuperType = addedSuperType; this.attachmentType = attachmentType; setText(); }
public PlayAdditionalLandsControllerEffect(int additionalCards, Duration duration) { super(duration, Layer.PlayerEffects, SubLayer.NA, Outcome.Benefit); this.additionalCards = additionalCards; setText(); }
public LoseAbilityAttachedEffect(Ability ability, AttachmentType attachmentType) { super(Duration.WhileOnBattlefield, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.LoseAbility); this.ability = ability; this.attachmentType = attachmentType; setText(); }
public AddCardColorAttachedEffect(ObjectColor addedColor, Duration duration, AttachmentType attachmentType) { super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit); this.addedColor = addedColor; this.attachmentType = attachmentType; setText(); }
public BecomesBlackZombieAdditionEffect(final BecomesBlackZombieAdditionEffect effect) { super(effect); this.giveBlackColor = effect.giveBlackColor; updateText(); }