From f68b24d7f0e485e8f57b8cb6472778ce9acc614b Mon Sep 17 00:00:00 2001 From: theelk801 Date: Wed, 7 Jan 2026 08:56:17 -0500 Subject: [PATCH] [ECL] Implement Assert Perfection --- .../src/mage/cards/a/AssertPerfection.java | 36 +++++++++++++++++++ Mage.Sets/src/mage/sets/LorwynEclipsed.java | 1 + 2 files changed, 37 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/a/AssertPerfection.java diff --git a/Mage.Sets/src/mage/cards/a/AssertPerfection.java b/Mage.Sets/src/mage/cards/a/AssertPerfection.java new file mode 100644 index 00000000000..8077282c844 --- /dev/null +++ b/Mage.Sets/src/mage/cards/a/AssertPerfection.java @@ -0,0 +1,36 @@ +package mage.cards.a; + +import mage.abilities.effects.common.DamageWithPowerFromOneToAnotherTargetEffect; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.target.common.TargetControlledCreaturePermanent; +import mage.target.common.TargetOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class AssertPerfection extends CardImpl { + + public AssertPerfection(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{G}"); + + // Target creature you control gets +1/+0 until end of turn. It deals damage equal to its power to up to one target creature an opponent controls. + this.getSpellAbility().addEffect(new BoostTargetEffect(1, 0)); + this.getSpellAbility().addEffect(new DamageWithPowerFromOneToAnotherTargetEffect("it")); + this.getSpellAbility().addTarget(new TargetControlledCreaturePermanent()); + this.getSpellAbility().addTarget(new TargetOpponentsCreaturePermanent()); + } + + private AssertPerfection(final AssertPerfection card) { + super(card); + } + + @Override + public AssertPerfection copy() { + return new AssertPerfection(this); + } +} diff --git a/Mage.Sets/src/mage/sets/LorwynEclipsed.java b/Mage.Sets/src/mage/sets/LorwynEclipsed.java index 548e4ee0486..3ccb27cbbe2 100644 --- a/Mage.Sets/src/mage/sets/LorwynEclipsed.java +++ b/Mage.Sets/src/mage/sets/LorwynEclipsed.java @@ -25,6 +25,7 @@ public final class LorwynEclipsed extends ExpansionSet { cards.add(new SetCardInfo("Ashling's Command", 330, Rarity.RARE, mage.cards.a.AshlingsCommand.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Ashling, Rekindled", 124, Rarity.RARE, mage.cards.a.AshlingRekindled.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Ashling, Rekindled", 290, Rarity.RARE, mage.cards.a.AshlingRekindled.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Assert Perfection", 164, Rarity.COMMON, mage.cards.a.AssertPerfection.class)); cards.add(new SetCardInfo("Aurora Awakener", 165, Rarity.MYTHIC, mage.cards.a.AuroraAwakener.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Aurora Awakener", 323, Rarity.MYTHIC, mage.cards.a.AuroraAwakener.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Bile-Vial Boggart", 87, Rarity.COMMON, mage.cards.b.BileVialBoggart.class));