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

How to use
mage.abilities.mana.CommanderColorIdentityManaAbility
constructor

Best Java code snippets using mage.abilities.mana.CommanderColorIdentityManaAbility.<init> (Showing top 5 results out of 315)

origin: magefree/mage

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

public CommandTower(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // {tap}: Add one mana of any color in your commander's color identity.
  this.addAbility(new CommanderColorIdentityManaAbility());
}
origin: magefree/mage

public PathOfAncestry(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
  // Path of Ancestry enters the battlefield tapped.
  this.addAbility(new EntersBattlefieldTappedAbility());
  // T: Add one mana of any color in your commander's color identity.
  Ability ability = new CommanderColorIdentityManaAbility();
  this.addAbility(ability);
  // When that mana is spent to cast a creature spell that shares a creature type with your commander, scry 1.
  this.addAbility(new PathOfAncestryTriggeredAbility(new ScryEffect(1)));
}
origin: magefree/mage

public CommandersSphere(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.ARTIFACT},"{3}");
  // {tap}: Add one mana of any color in your commander's color identity.
  this.addAbility(new CommanderColorIdentityManaAbility());
  // Sacrifice Commander's Sphere: Draw a card.
  this.addAbility(new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawCardSourceControllerEffect(1), new SacrificeSourceCost()));
}
origin: magefree/mage

public OpalPalace(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.LAND},"");
  // {T}: Add {C}.
  this.addAbility(new ColorlessManaAbility());
  // {1}, {tap}: Add one mana of any color in your commander's color identity. If you spend this mana to cast your commander, it enters the battlefield with a number of +1/+1 counters on it equal to the number of times it's been cast from the command zone this game.
  Ability ability = new CommanderColorIdentityManaAbility(new GenericManaCost(1));
  ability.addCost(new TapSourceCost());
  this.addAbility(ability, new OpalPalaceWatcher(ability.getOriginalId().toString()));
  ability = new SimpleStaticAbility(Zone.ALL, new OpalPalaceEntersBattlefieldEffect());
  ability.setRuleVisible(false);
  this.addAbility(ability);
}
mage.abilities.manaCommanderColorIdentityManaAbility<init>

Popular methods of CommanderColorIdentityManaAbility

  • getControllerId

Popular in Java

  • Making http post requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top PhpStorm plugins
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