diff --git a/Mage.Sets/src/mage/cards/s/SafanaCalimportCutthroat.java b/Mage.Sets/src/mage/cards/s/SafanaCalimportCutthroat.java new file mode 100644 index 00000000000..a515d458a90 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SafanaCalimportCutthroat.java @@ -0,0 +1,62 @@ +package mage.cards.s; + +import mage.MageInt; +import mage.abilities.common.BeginningOfEndStepTriggeredAbility; +import mage.abilities.common.ChooseABackgroundAbility; +import mage.abilities.condition.common.CompletedDungeonCondition; +import mage.abilities.condition.common.HaveInitiativeCondition; +import mage.abilities.decorator.ConditionalOneShotEffect; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.keyword.MenaceAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.constants.SuperType; +import mage.constants.TargetController; +import mage.game.permanent.token.TreasureToken; +import mage.watchers.common.CompletedDungeonWatcher; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class SafanaCalimportCutthroat extends CardImpl { + + public SafanaCalimportCutthroat(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{B}"); + + this.addSuperType(SuperType.LEGENDARY); + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(3); + this.toughness = new MageInt(2); + + // Menace + this.addAbility(new MenaceAbility()); + + // At the beginning of your end step, if you have the initiative, create a Treasure token. If you've completed a dungeon, create three of those tokens instead. + this.addAbility(new BeginningOfEndStepTriggeredAbility( + new ConditionalOneShotEffect( + new CreateTokenEffect(new TreasureToken(), 3), + new CreateTokenEffect(new TreasureToken()), + CompletedDungeonCondition.instance, "create a Treasure token. " + + "If you've completed a dungeon, create three of those tokens instead" + ), + TargetController.YOU, HaveInitiativeCondition.instance, false + ).addHint(CompletedDungeonCondition.getHint()), new CompletedDungeonWatcher()); + + // Choose a Background + this.addAbility(ChooseABackgroundAbility.getInstance()); + } + + private SafanaCalimportCutthroat(final SafanaCalimportCutthroat card) { + super(card); + } + + @Override + public SafanaCalimportCutthroat copy() { + return new SafanaCalimportCutthroat(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java index 2528e1ebd36..3c264f9cc63 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java +++ b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java @@ -109,6 +109,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet { cards.add(new SetCardInfo("Rilsa Rael, Kingpin", 293, Rarity.UNCOMMON, mage.cards.r.RilsaRaelKingpin.class)); cards.add(new SetCardInfo("Robe of the Archmagi", 91, Rarity.RARE, mage.cards.r.RobeOfTheArchmagi.class)); cards.add(new SetCardInfo("Roving Harper", 40, Rarity.COMMON, mage.cards.r.RovingHarper.class)); + cards.add(new SetCardInfo("Safana, Calimport Cutthroat", 143, Rarity.UNCOMMON, mage.cards.s.SafanaCalimportCutthroat.class)); cards.add(new SetCardInfo("Sarevok, Deathbringer", 144, Rarity.UNCOMMON, mage.cards.s.SarevokDeathbringer.class)); cards.add(new SetCardInfo("Sea Hag", 95, Rarity.COMMON, mage.cards.s.SeaHag.class)); cards.add(new SetCardInfo("Sea of Clouds", 360, Rarity.RARE, mage.cards.s.SeaOfClouds.class));