diff --git a/Mage.Sets/src/mage/cards/s/SkallaWolf.java b/Mage.Sets/src/mage/cards/s/SkallaWolf.java new file mode 100644 index 00000000000..130422f9fb8 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SkallaWolf.java @@ -0,0 +1,56 @@ +package mage.cards.s; + +import java.util.UUID; +import mage.MageInt; +import mage.ObjectColor; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.dynamicvalue.common.StaticValue; +import mage.abilities.effects.common.LookLibraryAndPickControllerEffect; +import mage.constants.SubType; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Zone; +import mage.filter.FilterCard; +import mage.filter.predicate.mageobject.ColorPredicate; + +/** + * + * @author TheElk801 + */ +public final class SkallaWolf extends CardImpl { + + private static final FilterCard filter = new FilterCard("a green card"); + + static { + filter.add(new ColorPredicate(ObjectColor.GREEN)); + } + + public SkallaWolf(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}{G}"); + + this.subtype.add(SubType.WOLF); + this.subtype.add(SubType.SPIRIT); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // When Skalla Wolf enters the battlefield, look at the top five cards of your library. You may reveal a green card from among them and put it into your hand. Put the rest on the bottom of your library in a random order. + this.addAbility(new EntersBattlefieldTriggeredAbility( + new LookLibraryAndPickControllerEffect( + new StaticValue(5), false, new StaticValue(1), filter, + Zone.LIBRARY, false, true, false, Zone.HAND, true, false, false + ).setBackInRandomOrder(true).setText("look at the top five cards of your library. " + + "You may reveal a green card from among them and put it into your hand. " + + "Put the rest on the bottom of your library in a random order.") + )); + } + + public SkallaWolf(final SkallaWolf card) { + super(card); + } + + @Override + public SkallaWolf copy() { + return new SkallaWolf(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CoreSet2019.java b/Mage.Sets/src/mage/sets/CoreSet2019.java index 22b53044d44..7fd9339e07a 100644 --- a/Mage.Sets/src/mage/sets/CoreSet2019.java +++ b/Mage.Sets/src/mage/sets/CoreSet2019.java @@ -193,6 +193,7 @@ public final class CoreSet2019 extends ExpansionSet { cards.add(new SetCardInfo("Shock", 156, Rarity.COMMON, mage.cards.s.Shock.class)); cards.add(new SetCardInfo("Sigiled Sword of Valeron", 244, Rarity.RARE, mage.cards.s.SigiledSwordOfValeron.class)); cards.add(new SetCardInfo("Silverbeak Griffin", 285, Rarity.COMMON, mage.cards.s.SilverbeakGriffin.class)); + cards.add(new SetCardInfo("Skalla Wolf", 303, Rarity.RARE, mage.cards.s.SkallaWolf.class)); cards.add(new SetCardInfo("Skeleton Archer", 118, Rarity.COMMON, mage.cards.s.SkeletonArcher.class)); cards.add(new SetCardInfo("Skilled Animator", 73, Rarity.UNCOMMON, mage.cards.s.SkilledAnimator.class)); cards.add(new SetCardInfo("Skymarch Bloodletter", 119, Rarity.COMMON, mage.cards.s.SkymarchBloodletter.class));