mirror of
https://github.com/correl/mage.git
synced 2025-04-12 17:00:08 -09:00
[MID] Implemented Turn the Earth
This commit is contained in:
parent
090aa66839
commit
008c1b1334
2 changed files with 43 additions and 0 deletions
Mage.Sets/src/mage
42
Mage.Sets/src/mage/cards/t/TurnTheEarth.java
Normal file
42
Mage.Sets/src/mage/cards/t/TurnTheEarth.java
Normal file
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.t;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.ShuffleIntoLibraryTargetEffect;
|
||||
import mage.abilities.keyword.FlashbackAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TimingRule;
|
||||
import mage.target.common.TargetCardInGraveyard;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class TurnTheEarth extends CardImpl {
|
||||
|
||||
public TurnTheEarth(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{G}");
|
||||
|
||||
// Choose up to three target cards in graveyards. The owners of those cards shuffle them into their libraries. You gain 2 life.
|
||||
this.getSpellAbility().addEffect(new ShuffleIntoLibraryTargetEffect()
|
||||
.setText("choose up to three target cards in graveyards. " +
|
||||
"The owners of those cards shuffle them into their libraries."));
|
||||
this.getSpellAbility().addEffect(new GainLifeEffect(2));
|
||||
this.getSpellAbility().addTarget(new TargetCardInGraveyard(0, 3));
|
||||
|
||||
// Flashback {1}{G}
|
||||
this.addAbility(new FlashbackAbility(new ManaCostsImpl<>("{1}{G}"), TimingRule.INSTANT));
|
||||
}
|
||||
|
||||
private TurnTheEarth(final TurnTheEarth card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TurnTheEarth copy() {
|
||||
return new TurnTheEarth(this);
|
||||
}
|
||||
}
|
|
@ -253,6 +253,7 @@ public final class InnistradMidnightHunt extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Timberland Guide", 202, Rarity.COMMON, mage.cards.t.TimberlandGuide.class));
|
||||
cards.add(new SetCardInfo("Tireless Hauler", 203, Rarity.COMMON, mage.cards.t.TirelessHauler.class));
|
||||
cards.add(new SetCardInfo("Triskaidekaphile", 81, Rarity.RARE, mage.cards.t.Triskaidekaphile.class));
|
||||
cards.add(new SetCardInfo("Turn the Earth", 205, Rarity.UNCOMMON, mage.cards.t.TurnTheEarth.class));
|
||||
cards.add(new SetCardInfo("Unnatural Growth", 206, Rarity.RARE, mage.cards.u.UnnaturalGrowth.class));
|
||||
cards.add(new SetCardInfo("Unruly Mob", 40, Rarity.COMMON, mage.cards.u.UnrulyMob.class));
|
||||
cards.add(new SetCardInfo("Untamed Pup", 187, Rarity.UNCOMMON, mage.cards.u.UntamedPup.class));
|
||||
|
|
Loading…
Add table
Reference in a new issue