1
0
Fork 0
mirror of https://github.com/correl/mage.git synced 2025-04-05 17:00:10 -09:00

[MH2] Implemented Tourach's Canticle

This commit is contained in:
Evan Kranzler 2021-05-25 09:00:42 -04:00
parent 3c3b15b7c3
commit b30654a1e9
2 changed files with 40 additions and 0 deletions
Mage.Sets/src/mage

View file

@ -0,0 +1,39 @@
package mage.cards.t;
import mage.abilities.effects.common.discard.DiscardCardYouChooseTargetEffect;
import mage.abilities.effects.common.discard.DiscardTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.TargetController;
import mage.filter.StaticFilters;
import mage.target.common.TargetOpponent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class TourachsCanticle extends CardImpl {
public TourachsCanticle(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{B}");
// Target opponent reveals their hand. You choose a card from it. That player discards that card, then discards a card at random.
this.getSpellAbility().addEffect(new DiscardCardYouChooseTargetEffect(
StaticFilters.FILTER_CARD, TargetController.OPPONENT
));
this.getSpellAbility().addEffect(new DiscardTargetEffect(1, true)
.setText(", then discards a card at random"));
this.getSpellAbility().addTarget(new TargetOpponent());
}
private TourachsCanticle(final TourachsCanticle card) {
super(card);
}
@Override
public TourachsCanticle copy() {
return new TourachsCanticle(this);
}
}

View file

@ -57,6 +57,7 @@ public final class ModernHorizons2 extends ExpansionSet {
cards.add(new SetCardInfo("Swamp", 485, Rarity.LAND, mage.cards.basiclands.Swamp.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Thrasta, Tempest's Roar", 178, Rarity.MYTHIC, mage.cards.t.ThrastaTempestsRoar.class));
cards.add(new SetCardInfo("Timeless Dragon", 35, Rarity.RARE, mage.cards.t.TimelessDragon.class));
cards.add(new SetCardInfo("Tourach's Canticle", 103, Rarity.COMMON, mage.cards.t.TourachsCanticle.class));
cards.add(new SetCardInfo("Unmarked Grave", 106, Rarity.RARE, mage.cards.u.UnmarkedGrave.class));
cards.add(new SetCardInfo("Urza's Saga", 259, Rarity.RARE, mage.cards.u.UrzasSaga.class));
cards.add(new SetCardInfo("Verdant Catacombs", 260, Rarity.RARE, mage.cards.v.VerdantCatacombs.class));