forked from External/mage
[FIN] Implement Ether
This commit is contained in:
parent
f3ed03fe4e
commit
1481b2ce8d
2 changed files with 39 additions and 0 deletions
38
Mage.Sets/src/mage/cards/e/Ether.java
Normal file
38
Mage.Sets/src/mage/cards/e/Ether.java
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.common.delayed.CopyNextSpellDelayedTriggeredAbility;
|
||||
import mage.abilities.costs.common.ExileSourceCost;
|
||||
import mage.abilities.effects.common.CreateDelayedTriggeredAbilityEffect;
|
||||
import mage.abilities.mana.BasicManaAbility;
|
||||
import mage.abilities.mana.BlueManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class Ether extends CardImpl {
|
||||
|
||||
public Ether(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}{U}");
|
||||
|
||||
// {T}, Exile this artifact: Add {U}. When you next cast an instant or sorcery spell this turn, copy that spell. You may choose new targets for the copy.
|
||||
BasicManaAbility ability = new BlueManaAbility();
|
||||
ability.addCost(new ExileSourceCost());
|
||||
ability.addEffect(new CreateDelayedTriggeredAbilityEffect(new CopyNextSpellDelayedTriggeredAbility()));
|
||||
ability.setUndoPossible(false); // exiles itself and creates a delayed trigger so undo should be disabled
|
||||
this.addAbility(ability);
|
||||
}
|
||||
|
||||
private Ether(final Ether card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Ether copy() {
|
||||
return new Ether(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -135,6 +135,7 @@ public final class FinalFantasy extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Esper Terra", 245, Rarity.MYTHIC, mage.cards.e.EsperTerra.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Esper Terra", 323, Rarity.MYTHIC, mage.cards.e.EsperTerra.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Esper Terra", 511, Rarity.MYTHIC, mage.cards.e.EsperTerra.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Ether", 53, Rarity.UNCOMMON, mage.cards.e.Ether.class));
|
||||
cards.add(new SetCardInfo("Evil Reawakened", 98, Rarity.UNCOMMON, mage.cards.e.EvilReawakened.class));
|
||||
cards.add(new SetCardInfo("Fang, Fearless l'Cie", 381, Rarity.UNCOMMON, mage.cards.f.FangFearlessLCie.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Fang, Fearless l'Cie", 446, Rarity.UNCOMMON, mage.cards.f.FangFearlessLCie.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue