congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
TapVariableTargetCost
Code IndexAdd Tabnine to your IDE (free)

How to use
TapVariableTargetCost
in
mage.abilities.costs.common

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

origin: magefree/mage

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

public BurnAtTheStake(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{R}{R}{R}");
  // As an additional cost to cast Burn at the Stake, tap any number of untapped creatures you control.
  this.getSpellAbility().addCost(new TapVariableTargetCost(filter, true, "any number of"));
  // Burn at the Stake deals damage to any target equal to three times the number of creatures tapped this way.
  this.getSpellAbility().addEffect(new BurnAtTheStakeEffect());
  this.getSpellAbility().addTarget(new TargetAnyTarget());
}
mage.abilities.costs.commonTapVariableTargetCost

Most used methods

  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (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 TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now