mirror of
https://github.com/correl/mage.git
synced 2024-12-27 20:06:31 +00:00
[BRO] Implement Stone Retrieval Unit
This commit is contained in:
parent
5ab9d97f0a
commit
9efe1f856d
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/s/StoneRetrievalUnit.java
Normal file
40
Mage.Sets/src/mage/cards/s/StoneRetrievalUnit.java
Normal 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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue