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

How to use
mage.abilities.common.PayMoreToCastAsThoughtItHadFlashAbility
constructor

Best Java code snippets using mage.abilities.common.PayMoreToCastAsThoughtItHadFlashAbility.<init> (Showing top 7 results out of 315)

origin: magefree/mage

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

public Rout(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}{W}");
  Effect effect = new DestroyAllEffect(FILTER_PERMANENT_CREATURES, true);
  // You may cast Rout as though it had flash if you pay {2} more to cast it.
  Ability ability = new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl("{2}"));
  ability.addEffect(effect);
  this.addAbility(ability);
  // Destroy all creatures. They can't be regenerated.
  this.getSpellAbility().addEffect(effect);
}
origin: magefree/mage

public BreakingWave(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}{U}");
  Effect effect = new BreakingWaveEffect();
  // You may cast Breaking Wave as though it had flash if you pay {2} more to cast it.
  Ability ability = new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl("{2}"));
  ability.addEffect(effect);
  this.addAbility(ability);
  // Simultaneously untap all tapped creatures and tap all untapped creatures.
  this.getSpellAbility().addEffect(effect);
}
origin: magefree/mage

public TwilightsCall(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{B}{B}");
  Effect effect = new TwilightsCallEffect();
  // You may cast Twilight's Call as though it had flash if you pay {2} more to cast it.
  Ability ability = new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl("{2}"));
  ability.addEffect(effect);
  this.addAbility(ability);
  // Each player returns all creature cards from their graveyard to the battlefield.
  this.getSpellAbility().addEffect(effect);
}
origin: magefree/mage

public GhituFire(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{X}{R}");
  Effect effect = new DamageTargetEffect(ManacostVariableValue.instance);
  // You may cast Ghitu Fire as though it had flash if you pay {2} more to cast it.
  Ability ability = new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl("{2}"));
  ability.addEffect(effect);
  ability.addTarget(new TargetAnyTarget());
  ability.setRuleAtTheTop(true);
  this.addAbility(ability);
  // Ghitu Fire deals X damage to any target.
  this.getSpellAbility().addEffect(effect);
  this.getSpellAbility().addTarget(new TargetAnyTarget());
}
origin: magefree/mage

public HarbingerOfTheTides(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{U}{U}");
  this.subtype.add(SubType.MERFOLK);
  this.subtype.add(SubType.WIZARD);
  this.power = new MageInt(2);
  this.toughness = new MageInt(2);
  // You may cast Harbinger of the Tides as though it had flash if you pay {2} more to cast it.
  this.addAbility(new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl<>("{2}")));
  // When Harbinger of the Tides enters the battlefield, you may return target tapped creature an opponent controls to its owner's hand.
  Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect(), true);
  ability.addTarget(new TargetCreaturePermanent(filter));
  this.addAbility(ability);
}
origin: magefree/mage

public SaprolingSymbiosis(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{G}");
  Effect effect = new CreateTokenEffect(new SaprolingToken(), new PermanentsOnBattlefieldCount(new FilterControlledCreaturePermanent()));
  // You may cast Saproling Symbiosis as though it had flash if you pay {2} more to cast it.
  Ability ability = new PayMoreToCastAsThoughtItHadFlashAbility(this, new ManaCostsImpl("{2}"));
  ability.addEffect(effect);
  ability.setRuleAtTheTop(true);
  this.addAbility(ability);
  // Create a 1/1 green Saproling creature token for each creature you control.
  this.getSpellAbility().addEffect(effect);
}
mage.abilities.commonPayMoreToCastAsThoughtItHadFlashAbility<init>

Popular methods of PayMoreToCastAsThoughtItHadFlashAbility

  • getRule

Popular in Java

  • Making http post requests using okhttp
  • getResourceAsStream (ClassLoader)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Table (org.hibernate.mapping)
    A relational table
  • CodeWhisperer 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