[BRO] Implement Stone Retrieval Unit

This commit is contained in:
Evan Kranzler 2022-11-04 18:53:52 -04:00
parent 5ab9d97f0a
commit 9efe1f856d
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package mage.cards.s;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
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 StoneRetrievalUnit extends CardImpl {
public StoneRetrievalUnit(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT, CardType.CREATURE}, "{4}");
this.subtype.add(SubType.CONSTRUCT);
this.power = new MageInt(2);
this.toughness = new MageInt(3);
// When Stone Retrieval Unit enters the battlefield, create a tapped Powerstone token.
this.addAbility(new EntersBattlefieldTriggeredAbility(
new CreateTokenEffect(new PowerstoneToken(), 1, true)
));
}
private StoneRetrievalUnit(final StoneRetrievalUnit card) {
super(card);
}
@Override
public StoneRetrievalUnit copy() {
return new StoneRetrievalUnit(this);
}
}

View file

@ -160,6 +160,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Splitting the Powerstone", 63, Rarity.UNCOMMON, mage.cards.s.SplittingThePowerstone.class));
cards.add(new SetCardInfo("Static Net", 27, Rarity.UNCOMMON, mage.cards.s.StaticNet.class));
cards.add(new SetCardInfo("Stern Lesson", 64, Rarity.COMMON, mage.cards.s.SternLesson.class));
cards.add(new SetCardInfo("Stone Retrieval Unit", 248, Rarity.COMMON, mage.cards.s.StoneRetrievalUnit.class));
cards.add(new SetCardInfo("Su-Chi Cave Guard", 249, Rarity.UNCOMMON, mage.cards.s.SuChiCaveGuard.class));
cards.add(new SetCardInfo("Supply Drop", 250, Rarity.COMMON, mage.cards.s.SupplyDrop.class));
cards.add(new SetCardInfo("Surge Engine", 81, Rarity.MYTHIC, mage.cards.s.SurgeEngine.class));