Codota Logo
ExileOpponentsCardFromExileToGraveyardCost
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: magefree/mage

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

public RuinProcessor(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{7}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(7);
  this.toughness = new MageInt(8);
  // When you cast Ruin Processor, you may put a card an opponent owns from exile into that player's graveyard. If you do, you gain 5 life.
  this.addAbility(new CastSourceTriggeredAbility(
      new DoIfCostPaid(new GainLifeEffect(5), new ExileOpponentsCardFromExileToGraveyardCost(true)), false));
}
origin: magefree/mage

public MindRaker(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // When Mind Raker enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, each opponent discards a card.
  this.addAbility(new EntersBattlefieldTriggeredAbility(
      new DoIfCostPaid(new DiscardEachPlayerEffect(TargetController.OPPONENT), new ExileOpponentsCardFromExileToGraveyardCost(true)), false));
}
origin: magefree/mage

public WastelandStrangler(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{B}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // When Wasteland Strangler enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, target creature gets -3/-3 until end of turn.
  Ability ability = new EntersBattlefieldTriggeredAbility(
      new DoIfCostPaid(new BoostTargetEffect(-3, -3, Duration.EndOfTurn), new ExileOpponentsCardFromExileToGraveyardCost(true)), false);
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
}
origin: magefree/mage

public MurkStrider(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(2);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // When Murk Strider enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target creature to its owner's hand.
  Ability ability = new EntersBattlefieldTriggeredAbility(
      new DoIfCostPaid(new ReturnToHandTargetEffect(), new ExileOpponentsCardFromExileToGraveyardCost(true)), false);
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
}
origin: magefree/mage

public UlamogsReclaimer(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{U}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(5);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // When Ulamog's Reclaimer enters the battlefield, you may put a card an opponent owns from exile into that player's graveyard. If you do, return target instant or sorcery card from your graveyard to your hand.
  Ability ability = new EntersBattlefieldTriggeredAbility(
      new DoIfCostPaid(new ReturnFromGraveyardToHandTargetEffect(), new ExileOpponentsCardFromExileToGraveyardCost(true)), false);
  ability.addTarget(new TargetCardInYourGraveyard(new FilterInstantOrSorceryCard("instant or sorcery card from your graveyard")));
  this.addAbility(ability);
}
origin: magefree/mage

public ProcessorAssault(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}");
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // As an additional cost to cast Processor Assault, put a card an opponent owns from exile into its owner's graveyard.
  this.getSpellAbility().addCost(new ExileOpponentsCardFromExileToGraveyardCost(false));
  // Processor Assault deals 5 damage to target creature.
  this.getSpellAbility().addEffect(new DamageTargetEffect(5));
  this.getSpellAbility().addTarget(new TargetCreaturePermanent());
}
origin: magefree/mage

public OracleOfDust(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{U}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(5);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // {2}, Put a card an opponent owns from exile into that player's graveyard: Draw a card, then discard a card.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DrawDiscardControllerEffect(1, 1), new ManaCostsImpl<>("{2}"));
  ability.addCost(new ExileOpponentsCardFromExileToGraveyardCost(true));
  this.addAbility(ability);
}
origin: magefree/mage

public VoidAttendant(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{2}{G}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(2);
  this.toughness = new MageInt(3);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // {1}{G}, Put a card an opponent owns from exile into that player's graveyard: Create a 1/1 colorless Eldrazi Scion creature token. It has "Sacrifice this creature: Add {C}."
  Effect effect = new CreateTokenEffect(new EldraziScionToken());
  effect.setText("create a 1/1 colorless Eldrazi Scion creature token. It has \"Sacrifice this creature: Add {C}.\"");
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, effect, new ManaCostsImpl("{1}{G}"));
  ability.addCost(new ExileOpponentsCardFromExileToGraveyardCost(true));
  this.addAbility(ability);
}
origin: magefree/mage

public CrypticCruiser(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{U}");
  this.subtype.add(SubType.ELDRAZI);
  this.subtype.add(SubType.PROCESSOR);
  this.power = new MageInt(3);
  this.toughness = new MageInt(3);
  // Devoid
  this.addAbility(new DevoidAbility(this.color));
  // {2}{U}, Put a card an opponent owns from exile into that player's graveyard: Tap target creature.
  Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new TapTargetEffect(), new ManaCostsImpl<>("{2}{U}"));
  ability.addCost(new ExileOpponentsCardFromExileToGraveyardCost(true));
  ability.addTarget(new TargetCreaturePermanent());
  this.addAbility(ability);
}
mage.abilities.costs.commonExileOpponentsCardFromExileToGraveyardCost

Most used methods

  • <init>

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Runner (org.openjdk.jmh.runner)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now