diff --git a/Mage.Sets/src/mage/cards/z/ZhentarimBandit.java b/Mage.Sets/src/mage/cards/z/ZhentarimBandit.java new file mode 100644 index 00000000000..b5145ac8663 --- /dev/null +++ b/Mage.Sets/src/mage/cards/z/ZhentarimBandit.java @@ -0,0 +1,43 @@ +package mage.cards.z; + +import mage.MageInt; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.costs.common.PayLifeCost; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.DoIfCostPaid; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; +import mage.game.permanent.token.TreasureToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class ZhentarimBandit extends CardImpl { + + public ZhentarimBandit(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{B}"); + + this.subtype.add(SubType.HALFLING); + this.subtype.add(SubType.ROGUE); + this.power = new MageInt(2); + this.toughness = new MageInt(1); + + // Whenever Zhentarim Bandit attacks, you may pay 1 life. If you do, create a Treasure token. + this.addAbility(new AttacksTriggeredAbility(new DoIfCostPaid( + new CreateTokenEffect(new TreasureToken()), new PayLifeCost(1) + ))); + } + + private ZhentarimBandit(final ZhentarimBandit card) { + super(card); + } + + @Override + public ZhentarimBandit copy() { + return new ZhentarimBandit(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java index 6fdc34d849f..f0481e4992b 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java +++ b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java @@ -279,5 +279,6 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet { cards.add(new SetCardInfo("Young Red Dragon", 210, Rarity.COMMON, mage.cards.y.YoungRedDragon.class)); cards.add(new SetCardInfo("Your Temple Is Under Attack", 52, Rarity.COMMON, mage.cards.y.YourTempleIsUnderAttack.class)); cards.add(new SetCardInfo("Zevlor, Elturel Exile", 296, Rarity.RARE, mage.cards.z.ZevlorElturelExile.class)); + cards.add(new SetCardInfo("Zhentarim Bandit", 158, Rarity.COMMON, mage.cards.z.ZhentarimBandit.class)); } }