diff --git a/Mage.Sets/src/mage/cards/b/BurakosPartyLeader.java b/Mage.Sets/src/mage/cards/b/BurakosPartyLeader.java new file mode 100644 index 0000000000..73040e57a8 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BurakosPartyLeader.java @@ -0,0 +1,62 @@ +package mage.cards.b; + +import mage.MageInt; +import mage.abilities.Ability; +import mage.abilities.common.AttacksTriggeredAbility; +import mage.abilities.common.ChooseABackgroundAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.dynamicvalue.common.PartyCount; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.LoseLifeTargetEffect; +import mage.abilities.effects.common.continuous.HasSubtypesSourceEffect; +import mage.abilities.hint.common.PartyCountHint; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.*; +import mage.game.permanent.token.TreasureToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class BurakosPartyLeader extends CardImpl { + + public BurakosPartyLeader(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}"); + + this.addSuperType(SuperType.LEGENDARY); + this.subtype.add(SubType.ORC); + this.power = new MageInt(2); + this.toughness = new MageInt(4); + + // Burakos, Party Leader is also a Cleric, Rogue, Warrior, and Wizard. + this.addAbility(new SimpleStaticAbility(Zone.ALL, new HasSubtypesSourceEffect( + SubType.CLERIC, SubType.ROGUE, SubType.WARRIOR, SubType.WIZARD + ))); + + // Whenever Burakos, Party Leader attacks, defending player loses X life and you create X Treasure tokens, where X is the number of creatures in your party. + Ability ability = new AttacksTriggeredAbility( + new LoseLifeTargetEffect(PartyCount.instance) + .setText("defending player loses X life"), + false, null, SetTargetPointer.PLAYER + ); + ability.addEffect(new CreateTokenEffect( + new TreasureToken(), PartyCount.instance + ).setText("and you create X Treasure tokens, " + + "where X is the number of creatures in your party")); + this.addAbility(ability.addHint(PartyCountHint.instance)); + + // Choose a Background + this.addAbility(ChooseABackgroundAbility.getInstance()); + } + + private BurakosPartyLeader(final BurakosPartyLeader card) { + super(card); + } + + @Override + public BurakosPartyLeader copy() { + return new BurakosPartyLeader(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java index 83198f1bba..83dc4df2b0 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java +++ b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java @@ -71,6 +71,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet { cards.add(new SetCardInfo("Bramble Sovereign", 218, Rarity.MYTHIC, mage.cards.b.BrambleSovereign.class)); cards.add(new SetCardInfo("Breath Weapon", 165, Rarity.COMMON, mage.cards.b.BreathWeapon.class)); cards.add(new SetCardInfo("Bronze Walrus", 302, Rarity.COMMON, mage.cards.b.BronzeWalrus.class)); + cards.add(new SetCardInfo("Burakos, Party Leader", 653, Rarity.MYTHIC, mage.cards.b.BurakosPartyLeader.class)); cards.add(new SetCardInfo("Burnished Hart", 303, Rarity.UNCOMMON, mage.cards.b.BurnishedHart.class)); cards.add(new SetCardInfo("Cadira, Caller of the Small", 269, Rarity.UNCOMMON, mage.cards.c.CadiraCallerOfTheSmall.class)); cards.add(new SetCardInfo("Campfire", 304, Rarity.UNCOMMON, mage.cards.c.Campfire.class));