[BRC] Implemented Scavenged Brawler

This commit is contained in:
Evan Kranzler 2022-10-29 10:14:54 -04:00
parent 6a0e5252e4
commit 9567fe7475
2 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,78 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
import mage.abilities.costs.common.ExileSourceFromGraveCost;
import mage.abilities.costs.mana.GenericManaCost;
import mage.abilities.effects.common.counter.AddCountersTargetEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.abilities.keyword.LifelinkAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.abilities.keyword.VigilanceAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.constants.Zone;
import mage.counters.CounterType;
import mage.target.common.TargetCreaturePermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class ScavengedBrawler extends CardImpl {
public ScavengedBrawler(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{6}");
this.subtype.add(SubType.CONSTRUCT);
this.power = new MageInt(4);
this.toughness = new MageInt(4);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Vigilance
this.addAbility(VigilanceAbility.getInstance());
// Trample
this.addAbility(TrampleAbility.getInstance());
// Lifelink
this.addAbility(LifelinkAbility.getInstance());
// {5}, Exile Scavenged Brawler from your graveyard: Choose target creature. Put four +1/+1 counters, a flying counter, a vigilance counter, a trample counter, and a lifelink counter on that creature. Activate only as a sorcery.
Ability ability = new ActivateAsSorceryActivatedAbility(
Zone.GRAVEYARD,
new AddCountersTargetEffect(CounterType.P1P1.createInstance(4))
.setText("choose target creature. Put four +1/+1 counters"),
new GenericManaCost(5)
);
ability.addCost(new ExileSourceFromGraveCost());
ability.addEffect(new AddCountersTargetEffect(
CounterType.FLYING.createInstance()
).setText(", a flying counter"));
ability.addEffect(new AddCountersTargetEffect(
CounterType.VIGILANCE.createInstance()
).setText(", a vigilance counter"));
ability.addEffect(new AddCountersTargetEffect(
CounterType.TRAMPLE.createInstance()
).setText(", a trample counter"));
ability.addEffect(new AddCountersTargetEffect(
CounterType.LIFELINK.createInstance()
).setText(", and a lifelink counter on that creature"));
ability.addTarget(new TargetCreaturePermanent());
}
private ScavengedBrawler(final ScavengedBrawler card) {
super(card);
}
@Override
public ScavengedBrawler copy() {
return new ScavengedBrawler(this);
}
}

View file

@ -119,6 +119,7 @@ public final class TheBrothersWarCommander extends ExpansionSet {
cards.add(new SetCardInfo("Reliquary Tower", 196, Rarity.UNCOMMON, mage.cards.r.ReliquaryTower.class));
cards.add(new SetCardInfo("River of Tears", 197, Rarity.RARE, mage.cards.r.RiverOfTears.class));
cards.add(new SetCardInfo("Sai, Master Thopterist", 93, Rarity.RARE, mage.cards.s.SaiMasterThopterist.class));
cards.add(new SetCardInfo("Scavenged Brawler", 17, Rarity.RARE, mage.cards.s.ScavengedBrawler.class));
cards.add(new SetCardInfo("Seat of the Synod", 198, Rarity.COMMON, mage.cards.s.SeatOfTheSynod.class));
cards.add(new SetCardInfo("Servo Schematic", 158, Rarity.UNCOMMON, mage.cards.s.ServoSchematic.class));
cards.add(new SetCardInfo("Shadowblood Ridge", 199, Rarity.RARE, mage.cards.s.ShadowbloodRidge.class));