[BLC] Implement Prosperous Bandit

This commit is contained in:
theelk801 2024-08-06 11:36:17 -04:00
parent f20e599435
commit 65164ec23d
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,50 @@
package mage.cards.p;
import mage.MageInt;
import mage.abilities.common.DealsCombatDamageToAPlayerTriggeredAbility;
import mage.abilities.dynamicvalue.common.SavedDamageValue;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FirstStrikeAbility;
import mage.abilities.keyword.OffspringAbility;
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 ProsperousBandit extends CardImpl {
public ProsperousBandit(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
this.subtype.add(SubType.RACCOON);
this.subtype.add(SubType.ROGUE);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// Offspring {1}
this.addAbility(new OffspringAbility("{1}"));
// First strike
this.addAbility(FirstStrikeAbility.getInstance());
// Whenever this creature deals combat damage to a player, create that many tapped Treasure tokens.
this.addAbility(new DealsCombatDamageToAPlayerTriggeredAbility(new CreateTokenEffect(
new TreasureToken(), SavedDamageValue.MANY, true, false
), false, true));
}
private ProsperousBandit(final ProsperousBandit card) {
super(card);
}
@Override
public ProsperousBandit copy() {
return new ProsperousBandit(this);
}
}

View file

@ -199,6 +199,7 @@ public final class BloomburrowCommander extends ExpansionSet {
cards.add(new SetCardInfo("Prairie Stream", 323, Rarity.RARE, mage.cards.p.PrairieStream.class));
cards.add(new SetCardInfo("Primeval Bounty", 232, Rarity.MYTHIC, mage.cards.p.PrimevalBounty.class));
cards.add(new SetCardInfo("Promise of Loyalty", 148, Rarity.RARE, mage.cards.p.PromiseOfLoyalty.class));
cards.add(new SetCardInfo("Prosperous Bandit", 25, Rarity.RARE, mage.cards.p.ProsperousBandit.class));
cards.add(new SetCardInfo("Prosperous Innkeeper", 121, Rarity.UNCOMMON, mage.cards.p.ProsperousInnkeeper.class));
cards.add(new SetCardInfo("Psychosis Crawler", 282, Rarity.RARE, mage.cards.p.PsychosisCrawler.class));
cards.add(new SetCardInfo("Pull from Tomorrow", 172, Rarity.RARE, mage.cards.p.PullFromTomorrow.class));