diff --git a/Mage.Sets/src/mage/cards/t/TauntFromTheRampart.java b/Mage.Sets/src/mage/cards/t/TauntFromTheRampart.java new file mode 100644 index 00000000000..fb21e23d066 --- /dev/null +++ b/Mage.Sets/src/mage/cards/t/TauntFromTheRampart.java @@ -0,0 +1,43 @@ +package mage.cards.t; + +import mage.abilities.effects.common.combat.CantBlockAllEffect; +import mage.abilities.effects.common.combat.GoadAllEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.filter.common.FilterOpponentsCreaturePermanent; + +import java.util.UUID; + +/** + * @author Susucr + */ +public final class TauntFromTheRampart extends CardImpl { + + private static final FilterOpponentsCreaturePermanent filter = new FilterOpponentsCreaturePermanent(""); + + public TauntFromTheRampart(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}{W}"); + + + // Goad all creatures your opponents control. Until your next turn, those creatures can't block. + this.getSpellAbility().addEffect(new GoadAllEffect(filter) + .setText("Goad all creatures your opponents control.") + ); + this.getSpellAbility().addEffect(new CantBlockAllEffect(filter, Duration.UntilYourNextTurn) + .setText("Until your next turn, those creatures can't block. " + + "(Until your next turn, those creatures attack each combat if able " + + "and attack a player other than you if able.)") + ); + } + + private TauntFromTheRampart(final TauntFromTheRampart card) { + super(card); + } + + @Override + public TauntFromTheRampart copy() { + return new TauntFromTheRampart(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java b/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java index e6cf106944c..349ebb78637 100644 --- a/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java +++ b/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java @@ -252,6 +252,7 @@ public final class TalesOfMiddleEarthCommander extends ExpansionSet { cards.add(new SetCardInfo("Sylvan Offering", 261, Rarity.RARE, mage.cards.s.SylvanOffering.class)); cards.add(new SetCardInfo("Talisman of Conviction", 285, Rarity.UNCOMMON, mage.cards.t.TalismanOfConviction.class)); cards.add(new SetCardInfo("Talisman of Progress", 286, Rarity.UNCOMMON, mage.cards.t.TalismanOfProgress.class)); + cards.add(new SetCardInfo("Taunt from the Rampart", 71, Rarity.RARE, mage.cards.t.TauntFromTheRampart.class)); cards.add(new SetCardInfo("Terramorphic Expanse", 337, Rarity.COMMON, mage.cards.t.TerramorphicExpanse.class)); cards.add(new SetCardInfo("The Balrog of Moria", 46, Rarity.RARE, mage.cards.t.TheBalrogOfMoria.class)); cards.add(new SetCardInfo("The Gaffer", 12, Rarity.RARE, mage.cards.t.TheGaffer.class)); diff --git a/Mage/src/main/java/mage/abilities/effects/common/combat/CantBlockAllEffect.java b/Mage/src/main/java/mage/abilities/effects/common/combat/CantBlockAllEffect.java index 9480fd30fd2..89948ae2908 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/combat/CantBlockAllEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/combat/CantBlockAllEffect.java @@ -20,7 +20,7 @@ public class CantBlockAllEffect extends RestrictionEffect { this.filter = filter; } - public CantBlockAllEffect(final CantBlockAllEffect effect) { + protected CantBlockAllEffect(final CantBlockAllEffect effect) { super(effect); this.filter = effect.filter; }