[AFR] Implemented Wandering Troubadour

This commit is contained in:
Daniel Bomar 2021-07-05 11:57:14 -05:00
parent b0bdd34c0c
commit 724daef125
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.w;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.BeginningOfYourEndStepTriggeredAbility;
import mage.abilities.condition.common.LandfallCondition;
import mage.abilities.decorator.ConditionalInterveningIfTriggeredAbility;
import mage.abilities.effects.keyword.VentureIntoTheDungeonEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.watchers.common.LandfallWatcher;
/**
*
* @author weirddan455
*/
public final class WanderingTroubadour extends CardImpl {
public WanderingTroubadour(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{G}");
this.subtype.add(SubType.DRAGON);
this.subtype.add(SubType.BARD);
this.power = new MageInt(4);
this.toughness = new MageInt(2);
// At the beginning of your end step, if you had a land enter the battlefield under your control this turn, venture into the dungeon.
this.addAbility(new ConditionalInterveningIfTriggeredAbility(
new BeginningOfYourEndStepTriggeredAbility(new VentureIntoTheDungeonEffect(), false),
LandfallCondition.instance,
"At the beginning of your end step, if you had a land enter the battlefield under your control this turn, venture into the dungeon."
), new LandfallWatcher());
}
private WanderingTroubadour(final WanderingTroubadour card) {
super(card);
}
@Override
public WanderingTroubadour copy() {
return new WanderingTroubadour(this);
}
}

View file

@ -146,6 +146,7 @@ public final class AdventuresInTheForgottenRealms extends ExpansionSet {
cards.add(new SetCardInfo("Varis, Silverymoon Ranger", 209, Rarity.RARE, mage.cards.v.VarisSilverymoonRanger.class));
cards.add(new SetCardInfo("Veteran Dungeoneer", 40, Rarity.COMMON, mage.cards.v.VeteranDungeoneer.class));
cards.add(new SetCardInfo("Vorpal Sword", 124, Rarity.RARE, mage.cards.v.VorpalSword.class));
cards.add(new SetCardInfo("Wandering Troubadour", 210, Rarity.UNCOMMON, mage.cards.w.WanderingTroubadour.class));
cards.add(new SetCardInfo("Werewolf Pack Leader", 211, Rarity.RARE, mage.cards.w.WerewolfPackLeader.class));
cards.add(new SetCardInfo("Xorn", 167, Rarity.RARE, mage.cards.x.Xorn.class));
cards.add(new SetCardInfo("You Come to a River", 83, Rarity.COMMON, mage.cards.y.YouComeToARiver.class));