mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[NEO] Implemented Tempered in Solitude
This commit is contained in:
parent
d7aacb7293
commit
4f51f9c3a0
2 changed files with 32 additions and 0 deletions
31
Mage.Sets/src/mage/cards/t/TemperedInSolitude.java
Normal file
31
Mage.Sets/src/mage/cards/t/TemperedInSolitude.java
Normal file
|
@ -0,0 +1,31 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.common.AttacksAloneControlledTriggeredAbility;
|
||||
import mage.abilities.effects.common.ExileTopXMayPlayUntilEndOfTurnEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TemperedInSolitude extends CardImpl {
|
||||
|
||||
public TemperedInSolitude(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{R}");
|
||||
|
||||
// Whenever a creature you control attacks alone, exile the top card of your library. You may play that card this turn.
|
||||
this.addAbility(new AttacksAloneControlledTriggeredAbility(new ExileTopXMayPlayUntilEndOfTurnEffect(1)));
|
||||
}
|
||||
|
||||
private TemperedInSolitude(final TemperedInSolitude card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TemperedInSolitude copy() {
|
||||
return new TemperedInSolitude(this);
|
||||
}
|
||||
}
|
|
@ -59,6 +59,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Spirited Companion", 38, Rarity.COMMON, mage.cards.s.SpiritedCompanion.class));
|
||||
cards.add(new SetCardInfo("Surgehacker Mech", 260, Rarity.RARE, mage.cards.s.SurgehackerMech.class));
|
||||
cards.add(new SetCardInfo("Swamp", 297, Rarity.LAND, mage.cards.basiclands.Swamp.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Tempered in Solitude", 165, Rarity.UNCOMMON, mage.cards.t.TemperedInSolitude.class));
|
||||
cards.add(new SetCardInfo("The Modern Age", 66, Rarity.COMMON, mage.cards.t.TheModernAge.class));
|
||||
cards.add(new SetCardInfo("The Shattered States Era", 162, Rarity.COMMON, mage.cards.t.TheShatteredStatesEra.class));
|
||||
cards.add(new SetCardInfo("The Wandering Emperor", 42, Rarity.MYTHIC, mage.cards.t.TheWanderingEmperor.class));
|
||||
|
|
Loading…
Reference in a new issue