Skip to content

Commit

Permalink
[LTR] Implement Wose Pathfinder
Browse files Browse the repository at this point in the history
  • Loading branch information
theelk801 committed May 30, 2023
1 parent a57abd1 commit 0f23b58
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
55 changes: 55 additions & 0 deletions Mage.Sets/src/mage/cards/w/WosePathfinder.java
Original file line number Diff line number Diff line change
@@ -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);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ private TheLordOfTheRingsTalesOfMiddleEarth() {
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));
}
}

0 comments on commit 0f23b58

Please sign in to comment.