Tabnine Logo
PutIntoGraveFromAnywhereSourceTriggeredAbility
Code IndexAdd Tabnine to your IDE (free)

How to use
PutIntoGraveFromAnywhereSourceTriggeredAbility
in
mage.abilities.common

Best Java code snippets using mage.abilities.common.PutIntoGraveFromAnywhereSourceTriggeredAbility (Showing top 11 results out of 315)

origin: magefree/mage

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

public SerraAvatar(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{4}{W}{W}{W}");
  this.subtype.add(SubType.AVATAR);
  this.power = new MageInt(0);
  this.toughness = new MageInt(0);
  // Serra Avatar's power and toughness are each equal to your life total.
  this.addAbility(new SimpleStaticAbility(Zone.ALL, new SetPowerToughnessSourceEffect(ControllerLifeCount.instance, Duration.EndOfGame)));
  
  // When Serra Avatar is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public Dread(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{B}{B}{B}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.INCARNATION);
  this.power = new MageInt(6);
  this.toughness = new MageInt(6);
  // Fear
  this.addAbility(FearAbility.getInstance());
  
  // Whenever a creature deals damage to you, destroy it.
  this.addAbility(new DreadTriggeredAbility());
  
  // When Dread is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public Vigor(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{3}{G}{G}{G}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.INCARNATION);
  this.power = new MageInt(6);
  this.toughness = new MageInt(6);
  // Trample
  this.addAbility(TrampleAbility.getInstance());
  
  // If damage would be dealt to a creature you control other than Vigor, prevent that damage. Put a +1/+1 counter on that creature for each 1 damage prevented this way.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new VigorReplacementEffect()));
  
  // When Vigor is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public KozilekButcherOfTruth(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{10}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.ELDRAZI);
  this.power = new MageInt(12);
  this.toughness = new MageInt(12);
  // When you cast Kozilek, Butcher of Truth, draw four cards.
  this.addAbility(new CastSourceTriggeredAbility(new DrawCardSourceControllerEffect(4)));
  // Annihilator 4 (Whenever this creature attacks, defending player sacrifices four permanents.)
  this.addAbility(new AnnihilatorAbility(4));
  // When Kozilek is put into a graveyard from anywhere, its owner shuffles their graveyard into their library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibraryGraveOfSourceOwnerEffect(), false));
}
origin: magefree/mage

public Purity(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{W}{W}{W}");
  
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.INCARNATION);
  this.power = new MageInt(6);
  this.toughness = new MageInt(6);
  // Flying
  this.addAbility(FlyingAbility.getInstance());
  // If noncombat damage would be dealt to you, prevent that damage. You gain life equal to the damage prevented this way.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new PurityEffect()));
  // When Purity is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public Hostility(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{R}{R}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.INCARNATION);
  this.power = new MageInt(6);
  this.toughness = new MageInt(6);
  // Haste
  this.addAbility(HasteAbility.getInstance());
  // If a spell you control would deal damage to an opponent, prevent that damage.
  // Create a 3/1 red Elemental Shaman creature token with haste for each 1 damage prevented this way.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new HostilityEffect()));
  // When Hostility is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public WorldspineWurm(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{8}{G}{G}{G}");
  this.subtype.add(SubType.WURM);
  this.power = new MageInt(15);
  this.toughness = new MageInt(15);
  // Trample
  this.addAbility(TrampleAbility.getInstance());
  // When Worldspine Wurm dies, create three 5/5 green Wurm creature tokens with trample.
  this.addAbility(new DiesTriggeredAbility(new CreateTokenEffect(new WurmToken2(), 3)));
  // When Worldspine Wurm is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public Guile(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{U}{U}");
  this.subtype.add(SubType.ELEMENTAL);
  this.subtype.add(SubType.INCARNATION);
  this.power = new MageInt(6);
  this.toughness = new MageInt(6);
  // Guile can't be blocked except by three or more creatures.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new CantBeBlockedByOneEffect(3)));
  // If a spell or ability you control would counter a spell, instead exile that spell and you may play that card without paying its mana cost.
  this.addAbility(new SimpleStaticAbility(Zone.BATTLEFIELD, new GuileReplacementEffect()));
  // When Guile is put into a graveyard from anywhere, shuffle it into its owner's library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibrarySourceEffect()));
}
origin: magefree/mage

public UlamogTheInfiniteGyre(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{11}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.ELDRAZI);
  this.power = new MageInt(10);
  this.toughness = new MageInt(10);
  // When you cast Ulamog, the Infinite Gyre, destroy target permanent.
  Ability ability = new CastSourceTriggeredAbility(new DestroyTargetEffect());
  ability.addTarget(new TargetPermanent());
  this.addAbility(ability);
  // Annihilator 4 (Whenever this creature attacks, defending player sacrifices four permanents.)
  this.addAbility(new AnnihilatorAbility(4));
  // Indestructible
  this.addAbility(IndestructibleAbility.getInstance());
  // When Ulamog is put into a graveyard from anywhere, its owner shuffles their graveyard into their library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibraryGraveOfSourceOwnerEffect(), false));
}
origin: magefree/mage

public EmrakulTheAeonsTorn(UUID ownerId, CardSetInfo setInfo) {
  super(ownerId,setInfo,new CardType[]{CardType.CREATURE},"{15}");
  addSuperType(SuperType.LEGENDARY);
  this.subtype.add(SubType.ELDRAZI);
  this.power = new MageInt(15);
  this.toughness = new MageInt(15);
  // Emrakul, the Aeons Torn can't be countered.
  this.addAbility(new CantBeCounteredAbility());
  // When you cast Emrakul, take an extra turn after this one.
  this.addAbility(new CastSourceTriggeredAbility(new AddExtraTurnControllerEffect()));
  // Flying, protection from colored spells, annihilator 6
  this.addAbility(FlyingAbility.getInstance());
  this.addAbility(new ProtectionAbility(filter));
  this.addAbility(new AnnihilatorAbility(6));
  // When Emrakul is put into a graveyard from anywhere, its owner shuffles their graveyard into their library.
  this.addAbility(new PutIntoGraveFromAnywhereSourceTriggeredAbility(new ShuffleIntoLibraryGraveOfSourceOwnerEffect(), false));
}
mage.abilities.commonPutIntoGraveFromAnywhereSourceTriggeredAbility

Most used methods

  • <init>

Popular in Java

  • Reactive rest calls using spring rest template
  • startActivity (Activity)
  • scheduleAtFixedRate (Timer)
  • notifyDataSetChanged (ArrayAdapter)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • String (java.lang)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JTextField (javax.swing)
  • From CI to AI: The AI layer in your organization
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