congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
mage.abilities.effects.common.continuous
Code IndexAdd Tabnine to your IDE (free)

How to use mage.abilities.effects.common.continuous

Best Java code snippets using mage.abilities.effects.common.continuous (Showing top 20 results out of 315)

origin: magefree/mage

public AssignNoCombatDamageSourceEffect(Duration duration, boolean partOfOptionalEffect) {
  super(duration, Outcome.PreventDamage);
  this.partOfOptionalEffect = partOfOptionalEffect;
  staticText = setText();
}
origin: magefree/mage

public UntapAllDuringEachOtherPlayersUntapStepEffect(FilterPermanent filter) {
  super(Duration.WhileOnBattlefield, Outcome.Untap);
  this.filter = filter;
  staticText = setStaticText();
}
origin: magefree/mage

public BoostEnchantedEffect(DynamicValue power, DynamicValue toughness, Duration duration) {
  super(duration, Layer.PTChangingEffects_7, SubLayer.ModifyPT_7c, isCanKill(toughness) ? Outcome.UnboostCreature : Outcome.BoostCreature);
  this.power = power;
  this.toughness = toughness;
  setText();
}
origin: magefree/mage

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);
}
origin: magefree/mage

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();
}
origin: magefree/mage

  @Override
  public BecomesBlackZombieAdditionEffect copy() {
    return new BecomesBlackZombieAdditionEffect(this);
  }
}
origin: magefree/mage

  @Override
  public BecomesCreatureIfVehicleEffect copy() {
    return new BecomesCreatureIfVehicleEffect(this);
  }
}
origin: magefree/mage

public BecomesCreatureTypeTargetEffect(Duration duration, SubTypeList subtypes, boolean loseOther) {
  super(duration, Outcome.Detriment);
  this.subtypes = subtypes;
  this.staticText = setText();
  this.loseOther = loseOther;
}
origin: magefree/mage

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();
}
origin: magefree/mage

public AddCardSubtypeAttachedEffect(SubType addedSubtype, Duration duration, AttachmentType attachmentType) {
  super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
  this.addedSubtype = addedSubtype;
  this.attachmentType = attachmentType;
  setText();
}
origin: magefree/mage

public BecomesBlackZombieAdditionEffect() {
  super(Duration.Custom, Outcome.Neutral);
  this.giveBlackColor = true;
  updateText();
}
origin: magefree/mage

public AddCardTypeAttachedEffect(CardType addedCardType, Duration duration, AttachmentType attachmentType) {
  super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
  this.addedCardType = addedCardType;
  this.attachmentType = attachmentType;
  setText();
}
origin: magefree/mage

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);
}
origin: magefree/mage

public CreaturesCantGetOrHaveAbilityEffect(Ability ability, Duration duration, FilterCreaturePermanent filter) {
  super(duration, Outcome.Detriment);
  this.ability = ability;
  this.filter = filter;
  setText();
}
origin: magefree/mage

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();
}
origin: magefree/mage

public AddCardSuperTypeAttachedEffect(SuperType addedSuperType, Duration duration, AttachmentType attachmentType) {
  super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
  this.addedSuperType = addedSuperType;
  this.attachmentType = attachmentType;
  setText();
}
origin: magefree/mage

public PlayAdditionalLandsControllerEffect(int additionalCards, Duration duration) {
  super(duration, Layer.PlayerEffects, SubLayer.NA, Outcome.Benefit);
  this.additionalCards = additionalCards;
  setText();
}
origin: magefree/mage

public LoseAbilityAttachedEffect(Ability ability, AttachmentType attachmentType) {
  super(Duration.WhileOnBattlefield, Layer.AbilityAddingRemovingEffects_6, SubLayer.NA, Outcome.LoseAbility);
  this.ability = ability;
  this.attachmentType = attachmentType;
  setText();
}
origin: magefree/mage

public AddCardColorAttachedEffect(ObjectColor addedColor, Duration duration, AttachmentType attachmentType) {
  super(duration, Layer.TypeChangingEffects_4, SubLayer.NA, Outcome.Benefit);
  this.addedColor = addedColor;
  this.attachmentType = attachmentType;
  setText();
}
origin: magefree/mage

public BecomesBlackZombieAdditionEffect(final BecomesBlackZombieAdditionEffect effect) {
  super(effect);
  this.giveBlackColor = effect.giveBlackColor;
  updateText();
}
mage.abilities.effects.common.continuous

Most used classes

  • ActivateAbilitiesAnyTimeYouCouldCastInstantEffect
  • AddCardColorAttachedEffect
  • AddCardSubTypeTargetEffect
  • AddCardSubtypeAllEffect
  • AddCardSubtypeAttachedEffect
  • AddCardTypeAttachedEffect,
  • AddCardTypeSourceEffect,
  • AddCardTypeTargetEffect,
  • AddChosenSubtypeEffect,
  • AssignNoCombatDamageSourceEffect,
  • BecomesBasicLandEnchantedEffect,
  • BecomesBasicLandTargetEffect,
  • BecomesBlackZombieAdditionEffect,
  • BecomesChosenCreatureTypeSourceEffect,
  • BecomesChosenCreatureTypeTargetEffect,
  • BecomesColorOrColorsTargetEffect,
  • BecomesColorSourceEffect,
  • BecomesColorTargetEffect,
  • BecomesCreatureAllEffect
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now