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

How to use
mage.abilities.mana.ActivateAsSorceryManaAbility
constructor

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

origin: magefree/mage

@Override
public ActivateAsSorceryManaAbility copy() {
  return new ActivateAsSorceryManaAbility(this);
}

origin: magefree/mage

public GrinningIgnus(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{R}");
  this.subtype.add(SubType.ELEMENTAL);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // {R}, Return Grinning Ignus to its owner's hand: Add {C}{C}{R}. Activate this ability only any time you could cast a sorcery.
  Ability ability = new ActivateAsSorceryManaAbility(Zone.BATTLEFIELD, new Mana(1, 0, 0, 0, 0, 0, 0, 2), new ManaCostsImpl("{R}"));
  ability.addCost(new ReturnToHandFromBattlefieldSourceCost());
  this.addAbility(ability);
}
mage.abilities.manaActivateAsSorceryManaAbility<init>

Popular methods of ActivateAsSorceryManaAbility

    Popular in Java

    • Making http post requests using okhttp
    • setContentView (Activity)
    • onCreateOptionsMenu (Activity)
    • getSharedPreferences (Context)
    • SecureRandom (java.security)
      This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
    • Properties (java.util)
      A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
    • TimeUnit (java.util.concurrent)
      A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
    • Handler (java.util.logging)
      A Handler object accepts a logging request and exports the desired messages to a target, for example
    • Reference (javax.naming)
    • StringUtils (org.apache.commons.lang)
      Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
    • Top 17 Plugins for Android Studio
    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