mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
Implement [DSC] Suspended Sentence (#13434)
This commit is contained in:
parent
4629456a92
commit
4376ae63a3
2 changed files with 44 additions and 0 deletions
43
Mage.Sets/src/mage/cards/s/SuspendedSentence.java
Normal file
43
Mage.Sets/src/mage/cards/s/SuspendedSentence.java
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
package mage.cards.s;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||
import mage.abilities.effects.common.DestroyTargetEffect;
|
||||
import mage.abilities.effects.common.ExileSpellWithTimeCountersEffect;
|
||||
import mage.abilities.effects.common.LoseLifeTargetControllerEffect;
|
||||
import mage.abilities.keyword.SuspendAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.common.TargetOpponentsCreaturePermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author padfoothelix
|
||||
*/
|
||||
public final class SuspendedSentence extends CardImpl {
|
||||
|
||||
public SuspendedSentence(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{B}");
|
||||
|
||||
|
||||
// Destroy target creature an opponent controls. That player loses 3 life. Exile Suspended Sentence with three time counters on it.
|
||||
this.getSpellAbility().addEffect(new DestroyTargetEffect());
|
||||
this.getSpellAbility().addEffect(new LoseLifeTargetControllerEffect(3).setText("That player loses 3 life"));
|
||||
this.getSpellAbility().addTarget(new TargetOpponentsCreaturePermanent());
|
||||
this.getSpellAbility().addEffect(new ExileSpellWithTimeCountersEffect(3));
|
||||
|
||||
// Suspend 3--{1}{B}
|
||||
this.addAbility(new SuspendAbility(3, new ManaCostsImpl<>("{1}{B}"), this));
|
||||
|
||||
}
|
||||
|
||||
private SuspendedSentence(final SuspendedSentence card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SuspendedSentence copy() {
|
||||
return new SuspendedSentence(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -246,6 +246,7 @@ public final class DuskmournHouseOfHorrorCommander extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Stitcher's Supplier", 157, Rarity.UNCOMMON, mage.cards.s.StitchersSupplier.class));
|
||||
cards.add(new SetCardInfo("Stormfist Crusader", 234, Rarity.RARE, mage.cards.s.StormfistCrusader.class));
|
||||
cards.add(new SetCardInfo("Sulfurous Springs", 301, Rarity.RARE, mage.cards.s.SulfurousSprings.class));
|
||||
cards.add(new SetCardInfo("Suspended Sentence", 25, Rarity.RARE, mage.cards.s.SuspendedSentence.class));
|
||||
cards.add(new SetCardInfo("Suspicious Bookcase", 95, Rarity.UNCOMMON, mage.cards.s.SuspiciousBookcase.class));
|
||||
cards.add(new SetCardInfo("Swords to Plowshares", 106, Rarity.UNCOMMON, mage.cards.s.SwordsToPlowshares.class));
|
||||
cards.add(new SetCardInfo("Syr Konrad, the Grim", 158, Rarity.UNCOMMON, mage.cards.s.SyrKonradTheGrim.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue