diff --git a/Mage.Sets/src/mage/cards/b/BrotherhoodsEnd.java b/Mage.Sets/src/mage/cards/b/BrotherhoodsEnd.java new file mode 100644 index 00000000000..e0cc1830b89 --- /dev/null +++ b/Mage.Sets/src/mage/cards/b/BrotherhoodsEnd.java @@ -0,0 +1,52 @@ +package mage.cards.b; + +import java.util.UUID; + +import mage.abilities.Mode; +import mage.abilities.effects.common.DamageAllEffect; +import mage.abilities.effects.common.DestroyAllEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.ComparisonType; +import mage.filter.FilterPermanent; +import mage.filter.common.FilterArtifactPermanent; +import mage.filter.common.FilterCreatureOrPlaneswalkerPermanent; +import mage.filter.predicate.mageobject.ManaValuePredicate; + +/** + * + * @author weirddan455 + */ +public final class BrotherhoodsEnd extends CardImpl { + + private static final FilterPermanent filter + = new FilterCreatureOrPlaneswalkerPermanent("creature and each planeswalker"); + + private static final FilterPermanent filter2 + = new FilterArtifactPermanent("artifacts with mana value 3 or less"); + + static { + filter2.add(new ManaValuePredicate(ComparisonType.FEWER_THAN, 4)); + } + + public BrotherhoodsEnd(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{R}{R}"); + + // Choose one -- + // * Brotherhood's End deals 3 damage to each creature and each planeswalker. + this.getSpellAbility().addEffect(new DamageAllEffect(3, filter)); + + // * Destroy all artifacts with mana value 3 or less. + this.getSpellAbility().addMode(new Mode(new DestroyAllEffect(filter2))); + } + + private BrotherhoodsEnd(final BrotherhoodsEnd card) { + super(card); + } + + @Override + public BrotherhoodsEnd copy() { + return new BrotherhoodsEnd(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TheBrothersWar.java b/Mage.Sets/src/mage/sets/TheBrothersWar.java index b1f84c0332e..eb061329b61 100644 --- a/Mage.Sets/src/mage/sets/TheBrothersWar.java +++ b/Mage.Sets/src/mage/sets/TheBrothersWar.java @@ -34,6 +34,7 @@ public final class TheBrothersWar extends ExpansionSet { cards.add(new SetCardInfo("Bitter Reunion", 127, Rarity.COMMON, mage.cards.b.BitterReunion.class)); cards.add(new SetCardInfo("Blanchwood Armor", 171, Rarity.UNCOMMON, mage.cards.b.BlanchwoodArmor.class)); cards.add(new SetCardInfo("Blast Zone", 258, Rarity.RARE, mage.cards.b.BlastZone.class)); + cards.add(new SetCardInfo("Brotherhood's End", 128, Rarity.RARE, mage.cards.b.BrotherhoodsEnd.class)); cards.add(new SetCardInfo("Brushland", 259, Rarity.RARE, mage.cards.b.Brushland.class)); cards.add(new SetCardInfo("Clay Revenant", 118, Rarity.COMMON, mage.cards.c.ClayRevenant.class)); cards.add(new SetCardInfo("Combat Thresher", 35, Rarity.UNCOMMON, mage.cards.c.CombatThresher.class));