[TDM] Implement Rakshasa's Bargain

This commit is contained in:
theelk801 2025-03-19 14:02:37 -04:00
parent 8a4726d0a9
commit d6e831b692
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,33 @@
package mage.cards.r;
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.PutCards;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class RakshasasBargain extends CardImpl {
public RakshasasBargain(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{2/B}{2/G}{2/U}");
// Look at the top four cards of your library. Put two of them into your hand and the rest into your graveyard.
this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(
4, 2, PutCards.HAND, PutCards.GRAVEYARD
));
}
private RakshasasBargain(final RakshasasBargain card) {
super(card);
}
@Override
public RakshasasBargain copy() {
return new RakshasasBargain(this);
}
}

View file

@ -43,6 +43,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
cards.add(new SetCardInfo("Narset, Jeskai Waymaster", 209, Rarity.RARE, mage.cards.n.NarsetJeskaiWaymaster.class));
cards.add(new SetCardInfo("Plains", 277, Rarity.LAND, mage.cards.basiclands.Plains.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Qarsi Revenant", 86, Rarity.RARE, mage.cards.q.QarsiRevenant.class));
cards.add(new SetCardInfo("Rakshasa's Bargain", 214, Rarity.UNCOMMON, mage.cards.r.RakshasasBargain.class));
cards.add(new SetCardInfo("Rally the Monastery", 19, Rarity.UNCOMMON, mage.cards.r.RallyTheMonastery.class));
cards.add(new SetCardInfo("Reigning Victor", 216, Rarity.COMMON, mage.cards.r.ReigningVictor.class));
cards.add(new SetCardInfo("Ringing Strike Mastery", 53, Rarity.COMMON, mage.cards.r.RingingStrikeMastery.class));