From da4c97acbed6089b684ee2baf19db269eee50a4d Mon Sep 17 00:00:00 2001 From: theelk801 Date: Sat, 8 Nov 2025 15:06:11 -0500 Subject: [PATCH] [TLA] Implement Firebending Lesson --- .../src/mage/cards/f/FirebendingLesson.java | 45 +++++++++++++++++++ .../src/mage/sets/AvatarTheLastAirbender.java | 1 + 2 files changed, 46 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/f/FirebendingLesson.java diff --git a/Mage.Sets/src/mage/cards/f/FirebendingLesson.java b/Mage.Sets/src/mage/cards/f/FirebendingLesson.java new file mode 100644 index 00000000000..495e9c46ab9 --- /dev/null +++ b/Mage.Sets/src/mage/cards/f/FirebendingLesson.java @@ -0,0 +1,45 @@ +package mage.cards.f; + +import mage.abilities.condition.common.KickedCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.DamageTargetEffect; +import mage.abilities.keyword.KickerAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.target.common.TargetCreaturePermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class FirebendingLesson extends CardImpl { + + public FirebendingLesson(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{R}"); + + this.subtype.add(SubType.LESSON); + + // Kicker {4} + this.addAbility(new KickerAbility("{4}")); + + // Firebending Lesson deals 2 damage to target creature. If this spell was kicked, it deals 5 damage to that creature instead. + this.getSpellAbility().addEffect(new ConditionalOneShotEffect( + new DamageTargetEffect(5), new DamageTargetEffect(2), + KickedCondition.ONCE, "{this} deals 2 damage to target creature. " + + "If this spell was kicked, it deals 5 damage to that creature instead" + )); + this.getSpellAbility().addTarget(new TargetCreaturePermanent()); + } + + private FirebendingLesson(final FirebendingLesson card) { + super(card); + } + + @Override + public FirebendingLesson copy() { + return new FirebendingLesson(this); + } +} diff --git a/Mage.Sets/src/mage/sets/AvatarTheLastAirbender.java b/Mage.Sets/src/mage/sets/AvatarTheLastAirbender.java index 65f840afb6b..924dd4712ea 100644 --- a/Mage.Sets/src/mage/sets/AvatarTheLastAirbender.java +++ b/Mage.Sets/src/mage/sets/AvatarTheLastAirbender.java @@ -123,6 +123,7 @@ public final class AvatarTheLastAirbender extends ExpansionSet { cards.add(new SetCardInfo("Fire Sages", 136, Rarity.UNCOMMON, mage.cards.f.FireSages.class)); cards.add(new SetCardInfo("Firebender Ascension", 137, Rarity.RARE, mage.cards.f.FirebenderAscension.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Firebender Ascension", 312, Rarity.RARE, mage.cards.f.FirebenderAscension.class, NON_FULL_USE_VARIOUS)); + cards.add(new SetCardInfo("Firebending Lesson", 138, Rarity.COMMON, mage.cards.f.FirebendingLesson.class)); cards.add(new SetCardInfo("Firebending Student", 139, Rarity.RARE, mage.cards.f.FirebendingStudent.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Firebending Student", 342, Rarity.RARE, mage.cards.f.FirebendingStudent.class, NON_FULL_USE_VARIOUS)); cards.add(new SetCardInfo("Firebending Student", 393, Rarity.RARE, mage.cards.f.FirebendingStudent.class, NON_FULL_USE_VARIOUS));