mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Implemented Echo of Eons
This commit is contained in:
parent
cf7896b3f8
commit
420a28f194
2 changed files with 42 additions and 0 deletions
41
Mage.Sets/src/mage/cards/e/EchoOfEons.java
Normal file
41
Mage.Sets/src/mage/cards/e/EchoOfEons.java
Normal file
|
@ -0,0 +1,41 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.DrawCardAllEffect;
|
||||
import mage.abilities.effects.common.ShuffleHandGraveyardAllEffect;
|
||||
import mage.abilities.keyword.FlashbackAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TimingRule;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EchoOfEons extends CardImpl {
|
||||
|
||||
public EchoOfEons(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{U}{U}");
|
||||
|
||||
// Each player shuffles their hand and graveyard into their library, then draws seven cards.
|
||||
this.getSpellAbility().addEffect(new ShuffleHandGraveyardAllEffect());
|
||||
Effect effect = new DrawCardAllEffect(7);
|
||||
effect.setText(", then draws seven cards");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
|
||||
// Flashback {2}{U}
|
||||
this.addAbility(new FlashbackAbility(new ManaCostsImpl("{2}{U}"), TimingRule.SORCERY));
|
||||
}
|
||||
|
||||
private EchoOfEons(final EchoOfEons card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EchoOfEons copy() {
|
||||
return new EchoOfEons(this);
|
||||
}
|
||||
}
|
|
@ -54,6 +54,7 @@ public final class ModernHorizons extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Diabolic Edict", 87, Rarity.COMMON, mage.cards.d.DiabolicEdict.class));
|
||||
cards.add(new SetCardInfo("Dismantling Blow", 5, Rarity.UNCOMMON, mage.cards.d.DismantlingBlow.class));
|
||||
cards.add(new SetCardInfo("Dregscape Sliver", 88, Rarity.UNCOMMON, mage.cards.d.DregscapeSliver.class));
|
||||
cards.add(new SetCardInfo("Echo of Eons", 46, Rarity.MYTHIC, mage.cards.e.EchoOfEons.class));
|
||||
cards.add(new SetCardInfo("Eladamri's Call", 197, Rarity.RARE, mage.cards.e.EladamrisCall.class));
|
||||
cards.add(new SetCardInfo("Elvish Fury", 162, Rarity.COMMON, mage.cards.e.ElvishFury.class));
|
||||
cards.add(new SetCardInfo("Endling", 89, Rarity.RARE, mage.cards.e.Endling.class));
|
||||
|
|
Loading…
Reference in a new issue