mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 05:52:06 -08:00
[OTJ] Implement Seize the Secrets
This commit is contained in:
parent
14163cf55b
commit
339c08b58d
2 changed files with 46 additions and 0 deletions
45
Mage.Sets/src/mage/cards/s/SeizeTheSecrets.java
Normal file
45
Mage.Sets/src/mage/cards/s/SeizeTheSecrets.java
Normal file
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue