congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
BasicLandcyclingAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
BasicLandcyclingAbility
in
mage.abilities.keyword

Best Java code snippets using mage.abilities.keyword.BasicLandcyclingAbility (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

Most used methods

  • <init>

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • JLabel (javax.swing)
  • 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