forked from External/mage
[EOE] Implement Space-Time Anomaly
This commit is contained in:
parent
dadc229fc8
commit
c357576ac2
2 changed files with 36 additions and 0 deletions
34
Mage.Sets/src/mage/cards/s/SpaceTimeAnomaly.java
Normal file
34
Mage.Sets/src/mage/cards/s/SpaceTimeAnomaly.java
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.ControllerLifeCount;
|
||||
import mage.abilities.effects.common.MillCardsTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.TargetPlayer;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class SpaceTimeAnomaly extends CardImpl {
|
||||
|
||||
public SpaceTimeAnomaly(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{W}{U}");
|
||||
|
||||
// Target player mills cards equal to your life total.
|
||||
this.getSpellAbility().addEffect(new MillCardsTargetEffect(ControllerLifeCount.instance)
|
||||
.setText("target player mills cards equal to your life total"));
|
||||
this.getSpellAbility().addTarget(new TargetPlayer());
|
||||
}
|
||||
|
||||
private SpaceTimeAnomaly(final SpaceTimeAnomaly card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SpaceTimeAnomaly copy() {
|
||||
return new SpaceTimeAnomaly(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -211,6 +211,8 @@ public final class EdgeOfEternities extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Sothera, the Supervoid", 360, Rarity.MYTHIC, mage.cards.s.SotheraTheSupervoid.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sothera, the Supervoid", 382, Rarity.MYTHIC, mage.cards.s.SotheraTheSupervoid.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Sothera, the Supervoid", 386, Rarity.MYTHIC, mage.cards.s.SotheraTheSupervoid.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Space-Time Anomaly", 229, Rarity.RARE, mage.cards.s.SpaceTimeAnomaly.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Space-Time Anomaly", 315, Rarity.RARE, mage.cards.s.SpaceTimeAnomaly.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Specimen Freighter", 76, Rarity.UNCOMMON, mage.cards.s.SpecimenFreighter.class));
|
||||
cards.add(new SetCardInfo("Starbreach Whale", 77, Rarity.COMMON, mage.cards.s.StarbreachWhale.class));
|
||||
cards.add(new SetCardInfo("Starfield Shepherd", 37, Rarity.UNCOMMON, mage.cards.s.StarfieldShepherd.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue