[STX] Implemented Secret Rendezvous

This commit is contained in:
Evan Kranzler 2021-04-01 08:24:56 -04:00
parent b78594281b
commit 6c86643d18
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
package mage.cards.s;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.effects.common.DrawCardTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.target.common.TargetOpponent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class SecretRendezvous extends CardImpl {
public SecretRendezvous(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{1}{W}{W}");
// You and target opponent each draw three cards.
this.getSpellAbility().addEffect(new DrawCardSourceControllerEffect(3).setText("you"));
this.getSpellAbility().addEffect(new DrawCardTargetEffect(3).setText("and target opponent each draw three cards"));
this.getSpellAbility().addTarget(new TargetOpponent());
}
private SecretRendezvous(final SecretRendezvous card) {
super(card);
}
@Override
public SecretRendezvous copy() {
return new SecretRendezvous(this);
}
}

View file

@ -112,6 +112,7 @@ public final class StrixhavenSchoolOfMages extends ExpansionSet {
cards.add(new SetCardInfo("Rip Apart", 381, Rarity.UNCOMMON, mage.cards.r.RipApart.class));
cards.add(new SetCardInfo("Rise of Extus", 226, Rarity.COMMON, mage.cards.r.RiseOfExtus.class));
cards.add(new SetCardInfo("Rootha, Mercurial Artist", 227, Rarity.UNCOMMON, mage.cards.r.RoothaMercurialArtist.class));
cards.add(new SetCardInfo("Secret Rendezvous", 26, Rarity.UNCOMMON, mage.cards.s.SecretRendezvous.class));
cards.add(new SetCardInfo("Shineshadow Snarl", 272, Rarity.RARE, mage.cards.s.ShineshadowSnarl.class));
cards.add(new SetCardInfo("Silverquill Apprentice", 231, Rarity.UNCOMMON, mage.cards.s.SilverquillApprentice.class));
cards.add(new SetCardInfo("Silverquill Command", 232, Rarity.RARE, mage.cards.s.SilverquillCommand.class));