From 0f23b5880ec8e084c31d4ca3dcf6af207fcb2b96 Mon Sep 17 00:00:00 2001 From: theelk801 Date: Tue, 30 May 2023 19:48:29 -0400 Subject: [PATCH] [LTR] Implement Wose Pathfinder --- .../src/mage/cards/w/WosePathfinder.java | 55 +++++++++++++++++++ .../TheLordOfTheRingsTalesOfMiddleEarth.java | 1 + 2 files changed, 56 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/w/WosePathfinder.java diff --git a/Mage.Sets/src/mage/cards/w/WosePathfinder.java b/Mage.Sets/src/mage/cards/w/WosePathfinder.java new file mode 100644 index 0000000000..ea8908da98 --- /dev/null +++ b/Mage.Sets/src/mage/cards/w/WosePathfinder.java @@ -0,0 +1,55 @@ +package mage.cards.w; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.SimpleActivatedAbility; +import mage.abilities.costs.common.TapSourceCost; +import mage.abilities.costs.mana.ManaCostsImpl; +import mage.abilities.effects.common.continuous.BoostTargetEffect; +import mage.abilities.effects.common.continuous.GainAbilityTargetEffect; +import mage.abilities.keyword.TrampleAbility; +import mage.abilities.mana.AnyColorManaAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.filter.StaticFilters; +import mage.target.TargetPermanent; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class WosePathfinder extends CardImpl { + + public WosePathfinder(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.SHAMAN); + this.power = new MageInt(1); + this.toughness = new MageInt(1); + + // {T}: Add one mana of any color. + this.addAbility(new AnyColorManaAbility()); + + // {6}{G}, {T}: Another target creature gets +3/+3 and gains trample until end of turn. + Ability ability = new SimpleActivatedAbility(new BoostTargetEffect(3, 3) + .setText("another target creature gets +3/+3"), new ManaCostsImpl<>("{6}{G}")); + ability.addCost(new TapSourceCost()); + ability.addEffect(new GainAbilityTargetEffect(TrampleAbility.getInstance()) + .setText("and gains trample until end of turn")); + ability.addTarget(new TargetPermanent(StaticFilters.FILTER_ANOTHER_TARGET_CREATURE)); + this.addAbility(ability); + } + + private WosePathfinder(final WosePathfinder card) { + super(card); + } + + @Override + public WosePathfinder copy() { + return new WosePathfinder(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java b/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java index ea9a0877d0..f57c27a723 100644 --- a/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java +++ b/Mage.Sets/src/mage/sets/TheLordOfTheRingsTalesOfMiddleEarth.java @@ -53,6 +53,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet { cards.add(new SetCardInfo("Tom Bombadil", 234, Rarity.MYTHIC, mage.cards.t.TomBombadil.class)); cards.add(new SetCardInfo("Trailblazer's Boots", 398, Rarity.RARE, mage.cards.t.TrailblazersBoots.class)); cards.add(new SetCardInfo("Wizard's Rockets", 252, Rarity.COMMON, mage.cards.w.WizardsRockets.class)); + cards.add(new SetCardInfo("Wose Pathfinder", 190, Rarity.COMMON, mage.cards.w.WosePathfinder.class)); cards.add(new SetCardInfo("You Cannot Pass!", 38, Rarity.UNCOMMON, mage.cards.y.YouCannotPass.class)); } }