Implemented Ruinous Ultimatum

This commit is contained in:
Evan Kranzler 2020-04-08 17:40:21 -04:00
parent df44de36d7
commit 86f71a6dd3
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,40 @@
package mage.cards.r;
import mage.abilities.effects.common.DestroyAllEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TargetController;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterNonlandPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class RuinousUltimatum extends CardImpl {
private static final FilterPermanent filter
= new FilterNonlandPermanent("nonland permanents your opponents control");
static {
filter.add(TargetController.OPPONENT.getControllerPredicate());
}
public RuinousUltimatum(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}{R}{W}{W}{W}{B}{B}");
// Destroy all nonland permanents your opponents control
this.getSpellAbility().addEffect(new DestroyAllEffect(filter));
}
private RuinousUltimatum(final RuinousUltimatum card) {
super(card);
}
@Override
public RuinousUltimatum copy() {
return new RuinousUltimatum(this);
}
}

View file

@ -128,6 +128,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
cards.add(new SetCardInfo("Proud Wildbonder", 229, Rarity.UNCOMMON, mage.cards.p.ProudWildbonder.class));
cards.add(new SetCardInfo("Raugrin Crystal", 238, Rarity.UNCOMMON, mage.cards.r.RaugrinCrystal.class));
cards.add(new SetCardInfo("Reconnaissance Mission", 65, Rarity.UNCOMMON, mage.cards.r.ReconnaissanceMission.class));
cards.add(new SetCardInfo("Ruinous Ultimatum", 204, Rarity.RARE, mage.cards.r.RuinousUltimatum.class));
cards.add(new SetCardInfo("Sanctuary Lockdown", 28, Rarity.UNCOMMON, mage.cards.s.SanctuaryLockdown.class));
cards.add(new SetCardInfo("Sanctuary Smasher", 135, Rarity.UNCOMMON, mage.cards.s.SanctuarySmasher.class));
cards.add(new SetCardInfo("Savai Crystal", 239, Rarity.UNCOMMON, mage.cards.s.SavaiCrystal.class));