[BRO] Implement Powerstone Engineer

This commit is contained in:
Evan Kranzler 2022-11-03 09:21:19 -04:00
parent eba3f8dbc0
commit 486709cf29
3 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.p;
import mage.MageInt;
import mage.abilities.common.DiesSourceTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.PowerstoneToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class PowerstoneEngineer extends CardImpl {
public PowerstoneEngineer(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{W}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.ARTIFICER);
this.power = new MageInt(2);
this.toughness = new MageInt(1);
// When Powerstone Engineer dies, create a tapped Powerstone token.
this.addAbility(new DiesSourceTriggeredAbility(new CreateTokenEffect(new PowerstoneToken(), 1, true)));
}
private PowerstoneEngineer(final PowerstoneEngineer card) {
super(card);
}
@Override
public PowerstoneEngineer copy() {
return new PowerstoneEngineer(this);
}
}

View file

@ -106,6 +106,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Phyrexian Fleshgorger", 121, Rarity.MYTHIC, mage.cards.p.PhyrexianFleshgorger.class));
cards.add(new SetCardInfo("Plains", 268, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Platoon Dispenser", 36, Rarity.MYTHIC, mage.cards.p.PlatoonDispenser.class));
cards.add(new SetCardInfo("Powerstone Engineer", 20, Rarity.COMMON, mage.cards.p.PowerstoneEngineer.class));
cards.add(new SetCardInfo("Powerstone Fracture", 112, Rarity.COMMON, mage.cards.p.PowerstoneFracture.class));
cards.add(new SetCardInfo("Queen Kayla bin-Kroog", 218, Rarity.RARE, mage.cards.q.QueenKaylaBinKroog.class));
cards.add(new SetCardInfo("Reconstructed Thopter", 242, Rarity.UNCOMMON, mage.cards.r.ReconstructedThopter.class));

View file

@ -46225,6 +46225,7 @@ Loran of the Third Path|The Brothers' War|12|R|{2}{W}|Legendary Creature - Human
Loran, Disciple of History|The Brothers' War|13|U|{3}{W}|Legendary Creature - Human Artificer|3|3|Whenever Loran, Disciple of History or another legendary creature enters the battlefield under your control, return target artifact from your graveyard to your hand.|
Mass Production|The Brothers' War|15|U|{5}{W}|Sorcery|||Create four 1/1 colorless Soldier artifact creature tokens.|
Myrel, Shield of Argive|The Brothers' War|18|M|{3}{W}|Legendary Creature - Human Soldier|3|4|During your turn, your opponents can't cast spells or activate abilities of artifacts, creatures, or enchantments.$Whenever Myrel, Shield of Argive attacks, create X 1/1 colorless Soldier artifact creature tokens, where X is the number of Soldiers you control.|
Powerstone Engineer|The Brothers' War|20|C|{1}{W}|Creature - Human Artificer|2|1|When Powerstone Engineer dies, create a tapped Powerstone token.|
Recruitment Officer|The Brothers' War|23|U|{W}|Creature - Human Soldier|2|1|{3}{W}: Look at the top four cards of your library. You may reveal a creature card with mana value 3 or less from among them and put it into your hand. Put the rest on the bottom of your library in a random order.|
Repair and Recharge|The Brothers' War|24|U|{3}{W}{W}|Sorcery|||Return target artifact, enchantment, or planeswalker card from your graveyard to the battlefield. Create a tapped Powerstone token.|
Siege Veteran|The Brothers' War|25|R|{2}{W}|Creature - Human Soldier|2|2|At the beginning of combat on your turn, put a +1/+1 counter on target creature you control.$Whenever another nontoken Soldier you control dies, create a 1/1 colorless Soldier artifact creature token.|