mirror of
https://github.com/correl/mage.git
synced 2024-12-28 03:00:10 +00:00
[NEO] Implemented Reality Heist
This commit is contained in:
parent
076b08d07b
commit
789ecdd9b7
2 changed files with 52 additions and 0 deletions
51
Mage.Sets/src/mage/cards/r/RealityHeist.java
Normal file
51
Mage.Sets/src/mage/cards/r/RealityHeist.java
Normal file
|
@ -0,0 +1,51 @@
|
|||
package mage.cards.r;
|
||||
|
||||
import mage.abilities.common.SimpleStaticAbility;
|
||||
import mage.abilities.dynamicvalue.common.ArtifactYouControlCount;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||
import mage.abilities.effects.common.cost.SpellCostReductionForEachSourceEffect;
|
||||
import mage.abilities.hint.common.ArtifactYouControlHint;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class RealityHeist extends CardImpl {
|
||||
|
||||
public RealityHeist(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{5}{U}{U}");
|
||||
|
||||
// This spell costs {1} less to cast for each artifact you control.
|
||||
this.addAbility(new SimpleStaticAbility(Zone.ALL,
|
||||
new SpellCostReductionForEachSourceEffect(1, ArtifactYouControlCount.instance)
|
||||
).addHint(ArtifactYouControlHint.instance));
|
||||
|
||||
// Look at the top seven cards of your library. You may reveal up to two artifact cards from among them and put them into your hand. Put the rest on the bottom of your library in a random order.
|
||||
this.getSpellAbility().addEffect(
|
||||
new LookLibraryAndPickControllerEffect(
|
||||
StaticValue.get(5), false, StaticValue.get(1),
|
||||
StaticFilters.FILTER_CARD_ARTIFACT, Zone.LIBRARY, false, true,
|
||||
false, Zone.HAND, true, false, false
|
||||
).setBackInRandomOrder(true)
|
||||
.setText("look at the top seven cards of your library. You may reveal up to " +
|
||||
"two artifact cards from among them and put them into your hand. " +
|
||||
"Put the rest on the bottom of your library in a random order")
|
||||
);
|
||||
}
|
||||
|
||||
private RealityHeist(final RealityHeist card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RealityHeist copy() {
|
||||
return new RealityHeist(this);
|
||||
}
|
||||
}
|
|
@ -101,6 +101,7 @@ public final class KamigawaNeonDynasty extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Portrait of Michiko", 29, Rarity.UNCOMMON, mage.cards.p.PortraitOfMichiko.class));
|
||||
cards.add(new SetCardInfo("Prodigy's Prototype", 231, Rarity.UNCOMMON, mage.cards.p.ProdigysPrototype.class));
|
||||
cards.add(new SetCardInfo("Raiyuu, Storm's Edge", 232, Rarity.RARE, mage.cards.r.RaiyuuStormsEdge.class));
|
||||
cards.add(new SetCardInfo("Reality Heist", 75, Rarity.UNCOMMON, mage.cards.r.RealityHeist.class));
|
||||
cards.add(new SetCardInfo("Reckoner Bankbuster", 255, Rarity.RARE, mage.cards.r.ReckonerBankbuster.class));
|
||||
cards.add(new SetCardInfo("Satoru Umezawa", 234, Rarity.RARE, mage.cards.s.SatoruUmezawa.class));
|
||||
cards.add(new SetCardInfo("Satsuki, the Living Lore", 235, Rarity.RARE, mage.cards.s.SatsukiTheLivingLore.class));
|
||||
|
|
Loading…
Reference in a new issue