[CLB] Implemented Burakos Party Leader

This commit is contained in:
Evan Kranzler 2022-06-01 09:23:33 -04:00
parent cdcfef378a
commit 963d2cb417
2 changed files with 63 additions and 0 deletions

View file

@ -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);
}
}

View file

@ -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("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("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("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("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("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)); cards.add(new SetCardInfo("Campfire", 304, Rarity.UNCOMMON, mage.cards.c.Campfire.class));