Implemented Stitcher's Supplier

This commit is contained in:
Evan Kranzler 2018-06-20 16:31:21 -04:00
parent 9c7fc43737
commit 341083fa60
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.s;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldOrDiesSourceTriggeredAbility;
import mage.abilities.effects.common.PutTopCardOfLibraryIntoGraveControllerEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
/**
*
* @author TheElk801
*/
public final class StitchersSupplier extends CardImpl {
public StitchersSupplier(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{B}");
this.subtype.add(SubType.ZOMBIE);
this.power = new MageInt(1);
this.toughness = new MageInt(1);
// When Stitcher's Supplier enters the battlefield or dies, put the top three cards of your library into your graveyard.
this.addAbility(new EntersBattlefieldOrDiesSourceTriggeredAbility(
new PutTopCardOfLibraryIntoGraveControllerEffect(3), false)
);
}
public StitchersSupplier(final StitchersSupplier card) {
super(card);
}
@Override
public StitchersSupplier copy() {
return new StitchersSupplier(this);
}
}

View file

@ -191,6 +191,7 @@ public final class CoreSet2019 extends ExpansionSet {
cards.add(new SetCardInfo("Sovereign's Bite", 120, Rarity.COMMON, mage.cards.s.SovereignsBite.class));
cards.add(new SetCardInfo("Sparktongue Dragon", 159, Rarity.COMMON, mage.cards.s.SparktongueDragon.class));
cards.add(new SetCardInfo("Star-Crowned Stag", 38, Rarity.COMMON, mage.cards.s.StarCrownedStag.class));
cards.add(new SetCardInfo("Stitcher's Supplier", 121, Rarity.UNCOMMON, mage.cards.s.StitchersSupplier.class));
cards.add(new SetCardInfo("Strangling Spores", 122, Rarity.COMMON, mage.cards.s.StranglingSpores.class));
cards.add(new SetCardInfo("Sun Sentinel", 307, Rarity.COMMON, mage.cards.s.SunSentinel.class));
cards.add(new SetCardInfo("Sure Strike", 161, Rarity.COMMON, mage.cards.s.SureStrike.class));