forked from External/mage
[ONE] Implement Meldweb Curator
This commit is contained in:
parent
3b48da7b14
commit
cf62891a4d
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/m/MeldwebCurator.java
Normal file
45
Mage.Sets/src/mage/cards/m/MeldwebCurator.java
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.PutOnLibraryTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MeldwebCurator extends CardImpl {
|
||||
|
||||
public MeldwebCurator(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
|
||||
|
||||
this.subtype.add(SubType.PHYREXIAN);
|
||||
this.subtype.add(SubType.WIZARD);
|
||||
this.power = new MageInt(3);
|
||||
this.toughness = new MageInt(4);
|
||||
|
||||
// When Meldweb Curator enters the battlefield, put up to one target instant or sorcery card from your graveyard on top of your library.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new PutOnLibraryTargetEffect(true));
|
||||
ability.addTarget(new TargetCardInYourGraveyard(
|
||||
0, 1, StaticFilters.FILTER_CARD_INSTANT_OR_SORCERY_FROM_YOUR_GRAVEYARD
|
||||
));
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private MeldwebCurator(final MeldwebCurator card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MeldwebCurator copy() {
|
||||
return new MeldwebCurator(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -112,6 +112,7 @@ public final class PhyrexiaAllWillBeOne extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Malcator, Purity Overseer", 208, Rarity.RARE, mage.cards.m.MalcatorPurityOverseer.class));
|
||||
cards.add(new SetCardInfo("Mandible Justiciar", 21, Rarity.COMMON, mage.cards.m.MandibleJusticiar.class));
|
||||
cards.add(new SetCardInfo("Maze Skullbomb", 231, Rarity.COMMON, mage.cards.m.MazeSkullbomb.class));
|
||||
cards.add(new SetCardInfo("Meldweb Curator", 59, Rarity.COMMON, mage.cards.m.MeldwebCurator.class));
|
||||
cards.add(new SetCardInfo("Mercurial Spelldancer", 61, Rarity.RARE, mage.cards.m.MercurialSpelldancer.class));
|
||||
cards.add(new SetCardInfo("Mesmerizing Dose", 62, Rarity.COMMON, mage.cards.m.MesmerizingDose.class));
|
||||
cards.add(new SetCardInfo("Migloz, Maze Crusher", 210, Rarity.RARE, mage.cards.m.MiglozMazeCrusher.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue