[BRO] Implemented Conscripted Infantry

This commit is contained in:
Daniel Bomar 2022-11-04 19:37:13 -05:00
parent 5ffbd536d1
commit 5de3030507
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.c;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.game.permanent.token.SoldierArtifactToken;
/**
*
* @author weirddan455
*/
public final class ConscriptedInfantry extends CardImpl {
public ConscriptedInfantry(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.SOLDIER);
this.power = new MageInt(3);
this.toughness = new MageInt(1);
// When Conscripted Infantry dies, create a 1/1 colorless Soldier artifact creature token.
this.addAbility(new DiesSourceTriggeredAbility(new CreateTokenEffect(new SoldierArtifactToken())));
}
private ConscriptedInfantry(final ConscriptedInfantry card) {
super(card);
}
@Override
public ConscriptedInfantry copy() {
return new ConscriptedInfantry(this);
}
}

View file

@ -55,6 +55,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Clay Revenant", 118, Rarity.COMMON, mage.cards.c.ClayRevenant.class));
cards.add(new SetCardInfo("Combat Courier", 77, Rarity.COMMON, mage.cards.c.CombatCourier.class));
cards.add(new SetCardInfo("Combat Thresher", 35, Rarity.UNCOMMON, mage.cards.c.CombatThresher.class));
cards.add(new SetCardInfo("Conscripted Infantry", 129, Rarity.COMMON, mage.cards.c.ConscriptedInfantry.class));
cards.add(new SetCardInfo("Corrupt", 88, Rarity.UNCOMMON, mage.cards.c.Corrupt.class));
cards.add(new SetCardInfo("Curate", 44, Rarity.COMMON, mage.cards.c.Curate.class));
cards.add(new SetCardInfo("Defabricate", 45, Rarity.UNCOMMON, mage.cards.d.Defabricate.class));