mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
Implemented Ravnica at War
This commit is contained in:
parent
3cd18faaf6
commit
837e83f911
2 changed files with 40 additions and 0 deletions
39
Mage.Sets/src/mage/cards/r/RavnicaAtWar.java
Normal file
39
Mage.Sets/src/mage/cards/r/RavnicaAtWar.java
Normal file
|
@ -0,0 +1,39 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.effects.common.ExileAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.predicate.mageobject.MulticoloredPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RavnicaAtWar extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterPermanent("multicolored permanents");
|
||||
|
||||
static {
|
||||
filter.add(MulticoloredPredicate.instance);
|
||||
}
|
||||
|
||||
public RavnicaAtWar(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{W}");
|
||||
|
||||
// Exile all multicolored permanents.
|
||||
this.getSpellAbility().addEffect(new ExileAllEffect(StaticFilters.FILTER_PERMANENT));
|
||||
}
|
||||
|
||||
private RavnicaAtWar(final RavnicaAtWar card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RavnicaAtWar copy() {
|
||||
return new RavnicaAtWar(this);
|
||||
}
|
||||
}
|
|
@ -39,6 +39,7 @@ public final class WarOfTheSpark extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Plains", 250, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Plains", 251, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Plains", 252, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Ravnica at War", 28, Rarity.RARE, mage.cards.r.RavnicaAtWar.class));
|
||||
cards.add(new SetCardInfo("Swamp", 256, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swamp", 257, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Swamp", 258, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
|
||||
|
|
Loading…
Reference in a new issue