diff --git a/Mage.Sets/src/mage/cards/i/IsuTheAbominable.java b/Mage.Sets/src/mage/cards/i/IsuTheAbominable.java new file mode 100644 index 00000000000..40097639bc7 --- /dev/null +++ b/Mage.Sets/src/mage/cards/i/IsuTheAbominable.java @@ -0,0 +1,78 @@ +package mage.cards.i; + +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldControlledTriggeredAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.costs.OrCost; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.DoIfCostPaid; +import mage.abilities.effects.common.continuous.LookAtTopCardOfLibraryAnyTimeEffect; +import mage.abilities.effects.common.continuous.PlayTheTopCardEffect; +import mage.abilities.effects.common.counter.AddCountersSourceEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.constants.TargetController; +import mage.counters.CounterType; +import mage.filter.FilterCard; +import mage.filter.FilterPermanent; +import mage.filter.predicate.mageobject.AnotherPredicate; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class IsuTheAbominable extends CardImpl { + + private static final FilterCard filter = new FilterCard("play snow lands and cast snow spells"); + private static final FilterPermanent filter2 = new FilterPermanent("another snow permanent"); + + static { + filter.add(SuperType.SNOW.getPredicate()); + filter2.add(SuperType.SNOW.getPredicate()); + filter2.add(AnotherPredicate.instance); + } + + public IsuTheAbominable(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}{U}"); + + this.addSuperType(SuperType.LEGENDARY); + this.addSuperType(SuperType.SNOW); + this.subtype.add(SubType.YETI); + this.power = new MageInt(5); + this.toughness = new MageInt(5); + + // You may look at the top card of your library any time. + this.addAbility(new SimpleStaticAbility(new LookAtTopCardOfLibraryAnyTimeEffect())); + + // You may play snow lands and cast snow spells from the top of your library. + this.addAbility(new SimpleStaticAbility(new PlayTheTopCardEffect( + TargetController.YOU, filter, false + ))); + + // Whenever another snow permanent enters the battlefield under your control, you may pay {G}, {W}, or {U}. If you do, put a +1/+1 counter on Isu the Abominable. + this.addAbility(new EntersBattlefieldControlledTriggeredAbility( + new DoIfCostPaid( + new AddCountersSourceEffect(CounterType.P1P1.createInstance()), + new OrCost( + "pay {G}, {W}, or {U}", + new ManaCostsImpl<>("{G}"), + new ManaCostsImpl<>("{W}"), + new ManaCostsImpl<>("{U}") + ) + ), filter2 + )); + } + + private IsuTheAbominable(final IsuTheAbominable card) { + super(card); + } + + @Override + public IsuTheAbominable copy() { + return new IsuTheAbominable(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Jumpstart2022.java b/Mage.Sets/src/mage/sets/Jumpstart2022.java index 84130286296..a467424bb02 100644 --- a/Mage.Sets/src/mage/sets/Jumpstart2022.java +++ b/Mage.Sets/src/mage/sets/Jumpstart2022.java @@ -22,6 +22,7 @@ public final class Jumpstart2022 extends ExpansionSet { cards.add(new SetCardInfo("Ardoz, Cobbler of War", 29, Rarity.RARE, mage.cards.a.ArdozCobblerOfWar.class)); cards.add(new SetCardInfo("Coldsteel Heart", 94, Rarity.UNCOMMON, mage.cards.c.ColdsteelHeart.class)); + cards.add(new SetCardInfo("Isu the Abominable", 12, Rarity.MYTHIC, mage.cards.i.IsuTheAbominable.class)); cards.add(new SetCardInfo("Kiki-Jiki, Mirror Breaker", 79, Rarity.MYTHIC, mage.cards.k.KikiJikiMirrorBreaker.class)); } } diff --git a/Utils/mtg-cards-data.txt b/Utils/mtg-cards-data.txt index 964366871f3..a626eb633fd 100644 --- a/Utils/mtg-cards-data.txt +++ b/Utils/mtg-cards-data.txt @@ -46266,7 +46266,7 @@ Soundwave, Sonic Spy|Transformers|14|M|{1}{W}{U}{B}|Legendary Artifact Creature Soundwave, Superior Champion|Transformers|14|M||Legendary Artifact|||Whenever you cast a spell with an odd mana value, convert Soundwave. If you do, create Ravage, a legendary 3/3 black Robot artifact creature token with menace and deathtouch.$Whenever you cast a spell with an even mana value, convert Soundwave. If you do, create Laserbeak, a 2/2 blue Robot artifact creature token with flying and hexproof.| Ultra Magnus, Tactician|Transformers|15|M|{4}{R}{G}{W}|Legendary Artifact Creature - Robot|7|7|More Than Meets the Eye {2}{R}{G}{W}$Ward {2}$Whenever Ultra Magnus attacks, you may put an artifact creature card from your hand onto the battlefield tapped and attacking. If you do, convert Ultra Magnus at end of combat.| Ultra Magnus, Armored Carrier|Transformers|15|M||Legendary Artifact - Vehicle|4|7|Living metal$Haste$Formidable -- Whenever Ultra Magnus attacks, attacking creatures you control gain indestructible until end of turn. If htose creatures have total power 8 or greater, convert Ultra Magnus.| -Isu the Abominable|Jump Start 2022|12|M|{3}{U}{U}|Legendary Snow Creature - Yeti|5|5|You may look at the top card of your library any time.$You may play snow lands and cast snow spells from the top of your library.$Whenever another snow permanent enters the battlefield under your control, you may pay {G}, {W}, or {U}. If you do, put a +1/+1 counter on Isu the Abominable.| +Isu the Abominable|Jumpstart 2022|12|M|{3}{U}{U}|Legendary Snow Creature - Yeti|5|5|You may look at the top card of your library any time.$You may play snow lands and cast snow spells from the top of your library.$Whenever another snow permanent enters the battlefield under your control, you may pay {G}, {W}, or {U}. If you do, put a +1/+1 counter on Isu the Abominable.| Ardoz, Cobbler of War|Jumpstart 2022|29|R|{1}{R}|Legendary Creature - Goblin Shaman|1|1|Haste$Whenever Ardoz, Cobbler of War or another creature enters the battlefield under your control, that creature gets +2/+0 until end of turn.${3}{R}: Create a 1/1 red Goblin creature token with haste. Activate only as sorcery.| -Kiki-Jiki, Mirror Breaker|Jump Start 2022|79|M|{2}{R}{R}{R}|Legendary Creature - Goblin Shaman|2|2|Haste${T}: Create a token that's a copy of target nonlegendary creature you control, except it has haste. Sacrifice it at the beginning of the next end step.| -Coldsteel Heart|Jump Start 2022|94|U|{2}|Snow Artifact|||Coldsteel Heart enters the battlefield tapped.$As Coldsteel Heart enters the battlefield, choose a color.${T}: Add one mana of the chosen color.| +Kiki-Jiki, Mirror Breaker|Jumpstart 2022|79|M|{2}{R}{R}{R}|Legendary Creature - Goblin Shaman|2|2|Haste${T}: Create a token that's a copy of target nonlegendary creature you control, except it has haste. Sacrifice it at the beginning of the next end step.| +Coldsteel Heart|Jumpstart 2022|94|U|{2}|Snow Artifact|||Coldsteel Heart enters the battlefield tapped.$As Coldsteel Heart enters the battlefield, choose a color.${T}: Add one mana of the chosen color.|