From 92f2e9a05ed3c3f4d632e3fd3301a5cdb92d94eb Mon Sep 17 00:00:00 2001 From: theelk801 Date: Thu, 8 Jan 2026 14:29:06 -0500 Subject: [PATCH] [ECL] Implement Thoughtweft Charge --- .../src/mage/cards/t/ThoughtweftCharge.java | 41 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 42 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/t/ThoughtweftCharge.java diff --git a/Mage.Sets/src/mage/cards/t/ThoughtweftCharge.java b/Mage.Sets/src/mage/cards/t/ThoughtweftCharge.java new file mode 100644 index 00000000000..cba13872a26 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/ThoughtweftCharge.java @@ -0,0 +1,41 @@ +package mage.cards.t; + +import mage.abilities.condition.common.CreatureEnteredUnderYourControlCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetCreaturePermanent; +import mage.watchers.common.CreatureEnteredControllerWatcher; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ThoughtweftCharge extends CardImpl { + + public ThoughtweftCharge(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{1}{G}"); + + // Target creature gets +3/+3 until end of turn. If a creature entered the battlefield under your control this turn, draw a card. + this.getSpellAbility().addEffect(new BoostTargetEffect(3, 3)); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new DrawCardSourceControllerEffect(1), CreatureEnteredUnderYourControlCondition.instance, + "If a creature entered the battlefield under your control this turn, draw a card" + )); + this.getSpellAbility().addWatcher(new CreatureEnteredControllerWatcher()); + } + + private ThoughtweftCharge(final ThoughtweftCharge card) { + super(card); + } + + @Override + public ThoughtweftCharge copy() { + return new ThoughtweftCharge(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 95c5d34d2bb..c10bb443858 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -223,6 +223,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Temple Garden", 351, Rarity.RARE, mage.cards.t.TempleGarden.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Temporal Cleansing", 78, Rarity.COMMON, mage.cards.t.TemporalCleansing.class)); cards.add(new SetCardInfo("Tend the Sprigs", 197, Rarity.COMMON, mage.cards.t.TendTheSprigs.class)); + cards.add(new SetCardInfo("Thoughtweft Charge", 198, Rarity.UNCOMMON, mage.cards.t.ThoughtweftCharge.class)); cards.add(new SetCardInfo("Thoughtweft Lieutenant", 246, Rarity.UNCOMMON, mage.cards.t.ThoughtweftLieutenant.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Thoughtweft Lieutenant", 343, Rarity.UNCOMMON, mage.cards.t.ThoughtweftLieutenant.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Trystan, Callous Cultivator", 199, Rarity.RARE, mage.cards.t.TrystanCallousCultivator.class, NON_FULL_USE_VARIOUS));