congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
ColorlessManaAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
ColorlessManaAbility
in
mage.abilities.mana

Best Java code snippets using mage.abilities.mana.ColorlessManaAbility (Showing top 20 results out of 315)

origin: magefree/mage

public JediEnclave(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Add {C} to your manapool.
  this.addAbility(new ColorlessManaAbility());
  // {T}, Sacrifice Jedi Enclave: Search your library for a basic Forest, Plains or Island card and put it onto the battlefield tapped. Then shuffle your library.
  this.addAbility(new JediEnclaveAbility());
}
origin: magefree/mage

public Millikin(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{2}");
  this.subtype.add(SubType.CONSTRUCT);
  this.power = new MageInt(0);
  this.toughness = new MageInt(1);
  // {tap}, Put the top card of your library into your graveyard: Add {C}.
  ColorlessManaAbility ability = new ColorlessManaAbility();
  ability.addCost(new PutTopCardOfYourLibraryToGraveyardCost());
  ability.setUndoPossible(false);
  this.addAbility(ability);
}
origin: magefree/mage

public PristineTalisman(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{3}");
  ColorlessManaAbility ability = new ColorlessManaAbility();
  ability.addEffect(new GainLifeEffect(1));
  this.addAbility(ability);
}
origin: magefree/mage

public UnderworldSlums(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // {T}: Add {C} to your manapool.
  this.addAbility(new ColorlessManaAbility());
  // {T}, Sacrifice Underworld Slums: Search your library for a basic Swamp, Mountain or Forest card and put it onto the battlefield tapped. Then shuffle your library.
  this.addAbility(new UnderworldSlumsAbility());
}
origin: magefree/mage

public DerangedAssistant(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{1}{U}");
  this.subtype.add(SubType.HUMAN);
  this.subtype.add(SubType.WIZARD);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // {T}, Put the top card of your library into your graveyard: Add {C}.
  ColorlessManaAbility ability = new ColorlessManaAbility();
  ability.addCost(new PutTopCardOfYourLibraryToGraveyardCost());
  ability.setUndoPossible(false);
  this.addAbility(ability);
}
origin: magefree/mage

public DarksteelCitadel (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.LAND},null);
  
  // Indestructible (Effects that say "destroy" don't destroy this land.)
  this.addAbility(IndestructibleAbility.getInstance());
  
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public JungleVillage(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Add {C} to your manapool.
  this.addAbility(new ColorlessManaAbility());
  // {T}, Sacrifice Jungle Village: Search your library for a basic Mountain, Forest or Plains card and put it onto the battlefield tapped. Then shuffle your library.
  this.addAbility(new JungleVillageAbility());
}
origin: magefree/mage

public DroidFactory(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // {T}: Add {C} to your manapool.
  this.addAbility(new ColorlessManaAbility());
  // {T}, Sacrifice Droid Factor: Search your library for a basic Plains, Island or Swamp card and put it onto the battlefield tapped. Then shuffle your library.
  this.addAbility(new DroidFactoryAbility());
}
origin: magefree/mage

public ReliquaryTower(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // You have no maximum hand size.
  Effect effect = new MaximumHandSizeControllerEffect(Integer.MAX_VALUE, Duration.WhileOnBattlefield, HandSizeModification.SET);
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, effect));
  // {tap}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public Manakin(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{2}");
  this.subtype.add(SubType.CONSTRUCT);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public CathedralOfWar(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // Cathedral of War enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  
  // Exalted
  this.addAbility(new ExaltedAbility());
  
  // {tap}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public RadiantFountain(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // When Radiant Fountain enters the battlefield, you gain 2 life.
  this.addAbility(new EntersBattlefieldTriggeredAbility(new GainLifeEffect(2), false));
  
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public BorealDruid(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{G}");
  addSuperType(SuperType.SNOW);
  this.subtype.add(SubType.ELF, SubType.DRUID);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // {tap}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public BlastedLandscape(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  this.addAbility(new ColorlessManaAbility());
  this.addAbility(new CyclingAbility(new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public ZoeticCavern(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());        
  // Morph {2}
  this.addAbility(new MorphAbility(this, new ManaCostsImpl("{2}")));
}
origin: magefree/mage

public Glimmerpost (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},null);
  this.subtype.add(SubType.LOCUS);
  
  // When Glimmerpost enters the battlefield, you gain 1 life for each Locus on the battlefield.
  this.addAbility(new EntersBattlefieldTriggeredAbility(new GlimmerpostEffect()));
  
  // {T}: Add to {1} your mana pool.
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public PlagueMyr (UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT,CardType.CREATURE},"{2}");
  this.subtype.add(SubType.MYR);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  this.addAbility(InfectAbility.getInstance());
  this.addAbility(new ColorlessManaAbility());
}
origin: magefree/mage

public EldraziTemple(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},null);
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
  // {T}: Add {C}{C}. Spend this mana only to cast colorless Eldrazi spells or activate abilities of colorless Eldrazi.  
  this.addAbility(new ConditionalColorlessManaAbility(new TapSourceCost(), 2, new EldraziTempleManaBuilder()));
}
origin: magefree/mage

public CorruptedCrossroads(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
  
  // {T}, Pay 1 life: Add one mana of any color. Spend this mana only to cast a spell with devoid.
  Ability ability = new ConditionalAnyColorManaAbility(1, new BlightedCrossroadsManaBuilder());
  ability.addCost(new PayLifeCost(1));
  this.addAbility(ability);
}
origin: magefree/mage

public PrismaticLens(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{2}");
  // {tap}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
  // {1}, {tap}: Add one mana of any color.
  Ability ability = new AnyColorManaAbility(new ManaCostsImpl("{1}"));
  ability.addCost(new TapSourceCost());
  this.addAbility(ability);
}
mage.abilities.manaColorlessManaAbility

Most used methods

  • <init>
  • addCost
  • addEffect
  • setUndoPossible

Popular in Java

  • Creating JSON documents from java classes using gson
  • onCreateOptionsMenu (Activity)
  • putExtra (Intent)
  • setRequestProperty (URLConnection)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top 25 Plugins for Webstorm
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