diff --git a/Mage.Sets/src/mage/cards/b/BarterInBlood.java b/Mage.Sets/src/mage/cards/b/BarterInBlood.java index 78dd07714c5..097e78cf27d 100644 --- a/Mage.Sets/src/mage/cards/b/BarterInBlood.java +++ b/Mage.Sets/src/mage/cards/b/BarterInBlood.java @@ -1,31 +1,26 @@ - package mage.cards.b; -import java.util.UUID; import mage.abilities.effects.common.SacrificeAllEffect; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; -import mage.filter.common.FilterControlledPermanent; +import mage.filter.StaticFilters; + +import java.util.UUID; /** - * * @author North */ public final class BarterInBlood extends CardImpl { - - private static final FilterControlledPermanent filter = new FilterControlledPermanent("creature"); - - static { - filter.add(CardType.CREATURE.getPredicate()); - } public BarterInBlood(UUID ownerId, CardSetInfo setInfo) { - super(ownerId,setInfo,new CardType[]{CardType.SORCERY},"{2}{B}{B}"); + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{B}{B}"); // Each player sacrifices two creatures. - this.getSpellAbility().addEffect(new SacrificeAllEffect(2, filter)); + this.getSpellAbility().addEffect(new SacrificeAllEffect( + 2, StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT + )); } public BarterInBlood(final BarterInBlood card) { @@ -36,4 +31,4 @@ public final class BarterInBlood extends CardImpl { public BarterInBlood copy() { return new BarterInBlood(this); } -} \ No newline at end of file +} diff --git a/Mage.Sets/src/mage/cards/n/NecroticHex.java b/Mage.Sets/src/mage/cards/n/NecroticHex.java new file mode 100644 index 00000000000..e27f4097512 --- /dev/null +++ b/Mage.Sets/src/mage/cards/n/NecroticHex.java @@ -0,0 +1,40 @@ +package mage.cards.n; + +import mage.abilities.effects.common.CreateTokenEffect; +import mage.abilities.effects.common.SacrificeAllEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.filter.StaticFilters; +import mage.game.permanent.token.ZombieToken; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class NecroticHex extends CardImpl { + + public NecroticHex(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{6}{B}"); + + // Each player sacrifices six creatures. + this.getSpellAbility().addEffect(new SacrificeAllEffect( + 2, StaticFilters.FILTER_CONTROLLED_CREATURE_SHORT_TEXT + )); + + // You create six tapped 2/2 black creature tokens. + this.getSpellAbility().addEffect( + new CreateTokenEffect(new ZombieToken(), 6).concatBy("
You") + ); + } + + private NecroticHex(final NecroticHex card) { + super(card); + } + + @Override + public NecroticHex copy() { + return new NecroticHex(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegends.java b/Mage.Sets/src/mage/sets/CommanderLegends.java index 49510184ff6..e69192c85c1 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegends.java +++ b/Mage.Sets/src/mage/sets/CommanderLegends.java @@ -140,6 +140,7 @@ public final class CommanderLegends extends ExpansionSet { cards.add(new SetCardInfo("Myriad Landscape", 487, Rarity.UNCOMMON, mage.cards.m.MyriadLandscape.class)); cards.add(new SetCardInfo("Najeela, the Blade-Blossom", 514, Rarity.MYTHIC, mage.cards.n.NajeelaTheBladeBlossom.class)); cards.add(new SetCardInfo("Natural Reclamation", 245, Rarity.COMMON, mage.cards.n.NaturalReclamation.class)); + cards.add(new SetCardInfo("Necrotic Hex", 137, Rarity.RARE, mage.cards.n.NecroticHex.class)); cards.add(new SetCardInfo("Nekusar, the Mindrazer", 529, Rarity.MYTHIC, mage.cards.n.NekusarTheMindrazer.class)); cards.add(new SetCardInfo("Ninth Bridge Patrol", 33, Rarity.COMMON, mage.cards.n.NinthBridgePatrol.class)); cards.add(new SetCardInfo("Noxious Dragon", 139, Rarity.UNCOMMON, mage.cards.n.NoxiousDragon.class));