forked from External/mage
[VOW] Implemented End the Festivities
This commit is contained in:
parent
cb8096d1a6
commit
992fbf1707
2 changed files with 43 additions and 0 deletions
42
Mage.Sets/src/mage/cards/e/EndTheFestivities.java
Normal file
42
Mage.Sets/src/mage/cards/e/EndTheFestivities.java
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
package mage.cards.e;
|
||||
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.abilities.effects.common.DamagePlayersEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.common.FilterCreatureOrPlaneswalkerPermanent;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class EndTheFestivities extends CardImpl {
|
||||
|
||||
private static final FilterPermanent filter = new FilterCreatureOrPlaneswalkerPermanent();
|
||||
|
||||
static {
|
||||
filter.add(TargetController.OPPONENT.getControllerPredicate());
|
||||
}
|
||||
|
||||
public EndTheFestivities(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{R}");
|
||||
|
||||
// End the Festivities deals 1 damage to each opponent and each creature and planeswalker they control.
|
||||
this.getSpellAbility().addEffect(new DamagePlayersEffect(1, TargetController.OPPONENT));
|
||||
this.getSpellAbility().addEffect(new DamageAllEffect(1, filter)
|
||||
.setText("and each creature and planeswalker they control"));
|
||||
}
|
||||
|
||||
private EndTheFestivities(final EndTheFestivities card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EndTheFestivities copy() {
|
||||
return new EndTheFestivities(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -95,6 +95,7 @@ public final class InnistradCrimsonVow extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Drogskol Armaments", 10, Rarity.COMMON, mage.cards.d.DrogskolArmaments.class));
|
||||
cards.add(new SetCardInfo("Drogskol Infantry", 10, Rarity.COMMON, mage.cards.d.DrogskolInfantry.class));
|
||||
cards.add(new SetCardInfo("Dying to Serve", 109, Rarity.RARE, mage.cards.d.DyingToServe.class));
|
||||
cards.add(new SetCardInfo("End the Festivities", 155, Rarity.COMMON, mage.cards.e.EndTheFestivities.class));
|
||||
cards.add(new SetCardInfo("Evolving Wilds", 263, Rarity.COMMON, mage.cards.e.EvolvingWilds.class));
|
||||
cards.add(new SetCardInfo("Falkenrath Forebear", 111, Rarity.RARE, mage.cards.f.FalkenrathForebear.class));
|
||||
cards.add(new SetCardInfo("Fearful Villager", 157, Rarity.COMMON, mage.cards.f.FearfulVillager.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue