Tabnine Logo
BasicLandcyclingAbility.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
mage.abilities.keyword.BasicLandcyclingAbility
constructor

Best Java code snippets using mage.abilities.keyword.BasicLandcyclingAbility.<init> (Showing top 12 results out of 315)

origin: magefree/mage

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

public AshBarrens(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
  
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
  // Basic landcycling {1}
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}")));
}
origin: magefree/mage

public TreacherousTerrain(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{R}{G}");
  // Treacherous Terrain deals damage to each opponent requal to the number of lands that player controls.
  this.getSpellAbility().addEffect(new TreacherousTerrainEffect());
  // Basic landcycling {2}
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public AncientExcavation(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2}{U}{B}");
  // Draw cards equal to the number of cards in your hand, then discard a card for each card drawn this way.
  this.getSpellAbility().addEffect(new AncientExcavationEffect());
  // Basic landcycling {2}
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public MigratoryRoute(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{U}");
  // Create four 1/1 white Bird creature tokens with flying.
  getSpellAbility().addEffect(new CreateTokenEffect(new BirdToken(), 4));
  // Basic landcycling {2}
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public GraveUpheaval(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}{R}");
  // Put target creature card from a graveyard onto the battlefield under your control. It gains haste.
  this.getSpellAbility().addEffect(new GraveUpheavalEffect());
  this.getSpellAbility().addTarget(new TargetCardInGraveyard());
  // Basic landcycling {2}
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public TraumaticVisions(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{3}{U}{U}");
  // Counter target spell.
  this.getSpellAbility().addTarget(new TargetSpell());
  this.getSpellAbility().addEffect(new CounterTargetEffect());
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{U}")));
}
origin: magefree/mage

public SylvanBounty(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{5}{G}");
  // Target player gains 8 life.
  this.getSpellAbility().addEffect(new GainLifeTargetEffect(8));
  this.getSpellAbility().addTarget(new TargetPlayer());
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{G}")));
}
origin: magefree/mage

public GleamOfResistance(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{4}{W}");
  // Creatures you control get +1/+2 until end of turn. Untap those creatures.
  this.getSpellAbility().addEffect(new BoostControlledEffect(1, 2, Duration.EndOfTurn));
  this.getSpellAbility().addEffect(new UntapAllControllerEffect(StaticFilters.FILTER_PERMANENT_CREATURE, "Untap those creatures"));
  // Basic landcycling {1}{W}({1}{W}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library.)
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{W}")));
}
origin: magefree/mage

public FieryFall (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.INSTANT},"{5}{R}");
  
  // Fiery Fall deals 5 damage to target creature.
  this.getSpellAbility().addEffect(new DamageTargetEffect(5));
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
  
  // Basic landcycling  {1}{R} ({1}{R}, Discard this card: Search your library for a basic land card, reveal it, and put it into your hand. Then shuffle your library.)
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{R}")));
}
origin: magefree/mage

public SylvanReclamation(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{G}{W}");
  // Exile up to two target artifacts and/or enchantments.
  Effect effect = new ExileTargetEffect();
  effect.setText("Exile up to two target artifacts and/or enchantments");
  Target target = new TargetPermanent(0, 2, filter, false);
  this.getSpellAbility().addTarget(target);
  this.getSpellAbility().addEffect(effect);
  // Basic landcycling {2}
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public AbsorbVis(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{B}");
  this.getSpellAbility().addEffect(new LoseLifeTargetEffect(4));
  this.getSpellAbility().addEffect(new GainLifeEffect(4).setText("and you gain 4 life"));
  this.getSpellAbility().addTarget(new TargetPlayer());
  this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{1}{B}")));
}
mage.abilities.keywordBasicLandcyclingAbility<init>

Popular methods of BasicLandcyclingAbility

    Popular in Java

    • Reading from database using SQL prepared statement
    • scheduleAtFixedRate (ScheduledExecutorService)
    • getExternalFilesDir (Context)
    • orElseThrow (Optional)
      Return the contained value, if present, otherwise throw an exception to be created by the provided s
    • FileInputStream (java.io)
      An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
    • ConcurrentHashMap (java.util.concurrent)
      A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
    • ImageIO (javax.imageio)
    • JButton (javax.swing)
    • JTable (javax.swing)
    • Logger (org.slf4j)
      The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
    • Top 12 Jupyter Notebook extensions
    Tabnine Logo
    • Products

      Search for Java codeSearch for JavaScript code
    • IDE Plugins

      IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
    • Company

      About UsContact UsCareers
    • Resources

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