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

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

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

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<init>

Popular methods of ExileOpponentsCardFromExileToGraveyardCost

    Popular in Java

    • Running tasks concurrently on multiple threads
    • scheduleAtFixedRate (Timer)
    • getSystemService (Context)
    • runOnUiThread (Activity)
    • BufferedImage (java.awt.image)
      The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
    • Permission (java.security)
      Legacy security code; do not use.
    • Executors (java.util.concurrent)
      Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
    • Collectors (java.util.stream)
    • Notification (javax.management)
    • JFrame (javax.swing)
    • 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