diff --git a/Mage.Sets/src/mage/cards/s/SeizeTheSecrets.java b/Mage.Sets/src/mage/cards/s/SeizeTheSecrets.java new file mode 100644 index 00000000000..a1abd85fdc6 --- /dev/null +++ b/Mage.Sets/src/mage/cards/s/SeizeTheSecrets.java @@ -0,0 +1,45 @@ +package mage.cards.s; + +import mage.abilities.Ability; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.condition.common.CommittedCrimeCondition; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.common.cost.SpellCostReductionSourceEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Zone; +import mage.watchers.common.CommittedCrimeWatcher; + +import java.util.UUID; + +/** + * @author Susucr + */ +public final class SeizeTheSecrets extends CardImpl { + + public SeizeTheSecrets(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{2}{U}"); + + // This spell costs {1} less to cast if you've committed a crime this turn. + Ability ability = new SimpleStaticAbility( + Zone.ALL, + new SpellCostReductionSourceEffect(1, CommittedCrimeCondition.instance) + ); + ability.setRuleAtTheTop(true); + ability.addHint(CommittedCrimeCondition.getHint()); + this.addAbility(ability, new CommittedCrimeWatcher()); + + // Draw two cards. + this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(2)); + } + + private SeizeTheSecrets(final SeizeTheSecrets card) { + super(card); + } + + @Override + public SeizeTheSecrets copy() { + return new SeizeTheSecrets(this); + } +} diff --git a/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java b/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java index 93595460bf6..8d5595b30f5 100644 --- a/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java +++ b/Mage.Sets/src/mage/sets/OutlawsOfThunderJunction.java @@ -212,6 +212,7 @@ public final class OutlawsOfThunderJunction extends ExpansionSet { cards.add(new SetCardInfo("Sandstorm Verge", 263, Rarity.UNCOMMON, mage.cards.s.SandstormVerge.class)); cards.add(new SetCardInfo("Scalestorm Summoner", 144, Rarity.UNCOMMON, mage.cards.s.ScalestormSummoner.class)); cards.add(new SetCardInfo("Scorching Shot", 145, Rarity.UNCOMMON, mage.cards.s.ScorchingShot.class)); + cards.add(new SetCardInfo("Seize the Secrets", 64, Rarity.COMMON, mage.cards.s.SeizeTheSecrets.class)); cards.add(new SetCardInfo("Selvala, Eager Trailblazer", 231, Rarity.MYTHIC, mage.cards.s.SelvalaEagerTrailblazer.class)); cards.add(new SetCardInfo("Seraphic Steed", 232, Rarity.RARE, mage.cards.s.SeraphicSteed.class)); cards.add(new SetCardInfo("Servant of the Stinger", 105, Rarity.UNCOMMON, mage.cards.s.ServantOfTheStinger.class));