Tabnine Logo
ManaTypeInManaPoolCount
Code IndexAdd Tabnine to your IDE (free)

How to use
ManaTypeInManaPoolCount
in
mage.abilities.dynamicvalue.common

Best Java code snippets using mage.abilities.dynamicvalue.common.ManaTypeInManaPoolCount (Showing top 2 results out of 315)

origin: magefree/mage

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

public OmnathLocusOfMana(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{G}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.ELEMENTAL);
  this.power = new MageInt(1);
  this.toughness = new MageInt(1);
  // Green mana doesn't empty from your mana pool as steps and phases end.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new OmnathRuleEffect()));
  // Omnath, Locus of Mana gets +1/+1 for each green mana in your mana pool
  DynamicValue boost = new ManaTypeInManaPoolCount(ManaType.GREEN);
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new BoostSourceEffect(boost, boost, Duration.WhileOnBattlefield)));
}
mage.abilities.dynamicvalue.commonManaTypeInManaPoolCount

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • Kernel (java.awt.image)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Github Copilot alternatives
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