mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
[ZNR] Implemented Ondu Inversion / Ondu Skyruins
This commit is contained in:
parent
4cad0cd8f1
commit
0c61973772
3 changed files with 73 additions and 0 deletions
34
Mage.Sets/src/mage/cards/o/OnduInversion.java
Normal file
34
Mage.Sets/src/mage/cards/o/OnduInversion.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.abilities.effects.common.DestroyAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OnduInversion extends CardImpl {
|
||||
|
||||
public OnduInversion(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{W}{W}");
|
||||
|
||||
this.modalDFC = true;
|
||||
this.secondSideCardClazz = mage.cards.o.OnduInversion.class;
|
||||
|
||||
// Destroy all nonland permanents.
|
||||
this.getSpellAbility().addEffect(new DestroyAllEffect(StaticFilters.FILTER_PERMANENTS_NON_LAND));
|
||||
}
|
||||
|
||||
private OnduInversion(final OnduInversion card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OnduInversion copy() {
|
||||
return new OnduInversion(this);
|
||||
}
|
||||
}
|
37
Mage.Sets/src/mage/cards/o/OnduSkyruins.java
Normal file
37
Mage.Sets/src/mage/cards/o/OnduSkyruins.java
Normal file
|
@ -0,0 +1,37 @@
|
|||
package mage.cards.o;
|
||||
|
||||
import mage.abilities.common.EntersBattlefieldTappedAbility;
|
||||
import mage.abilities.mana.WhiteManaAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class OnduSkyruins extends CardImpl {
|
||||
|
||||
public OnduSkyruins(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.LAND}, "");
|
||||
|
||||
this.modalDFC = true;
|
||||
this.nightCard = true;
|
||||
|
||||
// Ondu Skyruins enters the battlefield tapped.
|
||||
this.addAbility(new EntersBattlefieldTappedAbility());
|
||||
|
||||
// {T}: Add {W}.
|
||||
this.addAbility(new WhiteManaAbility());
|
||||
}
|
||||
|
||||
private OnduSkyruins(final OnduSkyruins card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public OnduSkyruins copy() {
|
||||
return new OnduSkyruins(this);
|
||||
}
|
||||
}
|
|
@ -215,6 +215,8 @@ public final class ZendikarRising extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Nissa's Zendikon", 197, Rarity.COMMON, mage.cards.n.NissasZendikon.class));
|
||||
cards.add(new SetCardInfo("Oblivion's Hunger", 119, Rarity.COMMON, mage.cards.o.OblivionsHunger.class));
|
||||
cards.add(new SetCardInfo("Omnath, Locus of Creation", 232, Rarity.MYTHIC, mage.cards.o.OmnathLocusOfCreation.class));
|
||||
cards.add(new SetCardInfo("Ondu Inversion", 30, Rarity.RARE, mage.cards.o.OnduInversion.class));
|
||||
cards.add(new SetCardInfo("Ondu Skyruins", 30, Rarity.RARE, mage.cards.o.OnduSkyruins.class));
|
||||
cards.add(new SetCardInfo("Orah, Skyclave Hierophant", 233, Rarity.RARE, mage.cards.o.OrahSkyclaveHierophant.class));
|
||||
cards.add(new SetCardInfo("Paired Tactician", 31, Rarity.UNCOMMON, mage.cards.p.PairedTactician.class));
|
||||
cards.add(new SetCardInfo("Pelakka Caverns", 120, Rarity.UNCOMMON, mage.cards.p.PelakkaCaverns.class));
|
||||
|
|
Loading…
Reference in a new issue