[SNC] Implemented Brokers Veteran

This commit is contained in:
Evan Kranzler 2022-04-16 08:48:45 -04:00
parent 52bf847d86
commit e6ab46b45b
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.b;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.counters.CounterType;
import mage.target.common.TargetControlledCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BrokersVeteran extends CardImpl {
public BrokersVeteran(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{U}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// When Brokers Veteran dies, put a shield counter on target creature you control.
Ability ability = new DiesSourceTriggeredAbility(
new AddCountersTargetEffect(CounterType.SHIELD.createInstance())
);
ability.addTarget(new TargetControlledCreaturePermanent());
this.addAbility(ability);
}
private BrokersVeteran(final BrokersVeteran card) {
super(card);
}
@Override
public BrokersVeteran copy() {
return new BrokersVeteran(this);
}
}

View file

@ -52,6 +52,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
cards.add(new SetCardInfo("Brokers Charm", 171, Rarity.UNCOMMON, mage.cards.b.BrokersCharm.class));
cards.add(new SetCardInfo("Brokers Hideout", 248, Rarity.COMMON, mage.cards.b.BrokersHideout.class));
cards.add(new SetCardInfo("Brokers Initiate", 5, Rarity.COMMON, mage.cards.b.BrokersInitiate.class));
cards.add(new SetCardInfo("Brokers Veteran", 36, Rarity.COMMON, mage.cards.b.BrokersVeteran.class));
cards.add(new SetCardInfo("Buy Your Silence", 6, Rarity.COMMON, mage.cards.b.BuyYourSilence.class));
cards.add(new SetCardInfo("Cabaretti Ascendancy", 172, Rarity.RARE, mage.cards.c.CabarettiAscendancy.class));
cards.add(new SetCardInfo("Cabaretti Charm", 173, Rarity.UNCOMMON, mage.cards.c.CabarettiCharm.class));