From b0a2a584480351c31b9dfe8aaf443b0cd7135241 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Fri, 18 Aug 2023 19:40:33 -0400 Subject: [PATCH] [WOE] Implement Threadbind Clique --- .../src/mage/cards/t/ThreadbindClique.java | 52 +++++++++++++++++++ Mage.Sets/src/mage/sets/WildsOfEldraine.java | 1 + 2 files changed, 53 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/ThreadbindClique.java diff --git a/Mage.Sets/src/mage/cards/t/ThreadbindClique.java b/Mage.Sets/src/mage/cards/t/ThreadbindClique.java new file mode 100644 index 00000000000..66a1e6161a4 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThreadbindClique.java @@ -0,0 +1,52 @@ +package mage.cards.t; + +import mage.MageInt; +import mage.abilities.effects.common.DestroyTargetEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.AdventureCard; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.FilterPermanent; +import mage.filter.common.FilterCreaturePermanent; +import mage.filter.predicate.permanent.TappedPredicate; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ThreadbindClique extends AdventureCard { + + private static final FilterPermanent filter = new FilterCreaturePermanent("tapped creature"); + + static { + filter.add(TappedPredicate.TAPPED); + } + + public ThreadbindClique(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{3}{U}", "Rip the Seams", "{2}{W}"); + + this.subtype.add(SubType.FAERIE); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Rip the Seams + // Destroy target tapped creature. + this.getSpellCard().getSpellAbility().addEffect(new DestroyTargetEffect()); + this.getSpellCard().getSpellAbility().addTarget(new TargetPermanent(filter)); + } + + private ThreadbindClique(final ThreadbindClique card) { + super(card); + } + + @Override + public ThreadbindClique copy() { + return new ThreadbindClique(this); + } +} diff --git a/Mage.Sets/src/mage/sets/WildsOfEldraine.java b/Mage.Sets/src/mage/sets/WildsOfEldraine.java index 4fbb7c60e84..009be9b33ef 100644 --- a/Mage.Sets/src/mage/sets/WildsOfEldraine.java +++ b/Mage.Sets/src/mage/sets/WildsOfEldraine.java @@ -105,6 +105,7 @@ public final class WildsOfEldraine extends ExpansionSet { cards.add(new SetCardInfo("Tanglespan Lookout", 188, Rarity.UNCOMMON, mage.cards.t.TanglespanLookout.class)); cards.add(new SetCardInfo("The Goose Mother", 204, Rarity.RARE, mage.cards.t.TheGooseMother.class)); cards.add(new SetCardInfo("The Huntsman's Redemption", 176, Rarity.RARE, mage.cards.t.TheHuntsmansRedemption.class)); + cards.add(new SetCardInfo("Threadbind Clique", 239, Rarity.UNCOMMON, mage.cards.t.ThreadbindClique.class)); cards.add(new SetCardInfo("Three Blind Mice", 35, Rarity.RARE, mage.cards.t.ThreeBlindMice.class)); cards.add(new SetCardInfo("Three Bowls of Porridge", 253, Rarity.UNCOMMON, mage.cards.t.ThreeBowlsOfPorridge.class)); cards.add(new SetCardInfo("Thunderous Debut", 190, Rarity.RARE, mage.cards.t.ThunderousDebut.class));