mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
[SNC] Implemented Maestros Charm
This commit is contained in:
parent
21cf9369ab
commit
dafbed3581
3 changed files with 55 additions and 1 deletions
52
Mage.Sets/src/mage/cards/m/MaestrosCharm.java
Normal file
52
Mage.Sets/src/mage/cards/m/MaestrosCharm.java
Normal file
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import mage.abilities.Mode;
|
||||
import mage.abilities.dynamicvalue.common.StaticValue;
|
||||
import mage.abilities.effects.common.DamageTargetEffect;
|
||||
import mage.abilities.effects.common.GainLifeEffect;
|
||||
import mage.abilities.effects.common.LookLibraryAndPickControllerEffect;
|
||||
import mage.abilities.effects.common.LoseLifeOpponentsEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.target.common.TargetCreatureOrPlaneswalker;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
*/
|
||||
public final class MaestrosCharm extends CardImpl {
|
||||
|
||||
public MaestrosCharm(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{U}{B}{R}");
|
||||
|
||||
// Choose one —
|
||||
// • Look at the top five cards of your library. Put one of those cards into your hand and the rest into your graveyard.
|
||||
this.getSpellAbility().addEffect(new LookLibraryAndPickControllerEffect(
|
||||
StaticValue.get(5), false, StaticValue.get(1), StaticFilters.FILTER_CARD,
|
||||
Zone.GRAVEYARD, false, false, false, Zone.HAND, false
|
||||
));
|
||||
|
||||
// • Each opponent loses 3 life and you gain 3 life.
|
||||
Mode mode = new Mode(new LoseLifeOpponentsEffect(3));
|
||||
mode.addEffect(new GainLifeEffect(3).concatBy("and"));
|
||||
this.getSpellAbility().addMode(mode);
|
||||
|
||||
// • Maestros Charm deals 5 damage to target creature or planeswalker.
|
||||
mode = new Mode(new DamageTargetEffect(5));
|
||||
mode.addTarget(new TargetCreatureOrPlaneswalker());
|
||||
this.getSpellAbility().addMode(mode);
|
||||
}
|
||||
|
||||
private MaestrosCharm(final MaestrosCharm card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MaestrosCharm copy() {
|
||||
return new MaestrosCharm(this);
|
||||
}
|
||||
}
|
|
@ -25,6 +25,7 @@ public final class StreetsOfNewCapenna extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Forest", 280, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Island", 274, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Jetmir's Garden", 250, Rarity.RARE, mage.cards.j.JetmirsGarden.class));
|
||||
cards.add(new SetCardInfo("Maestros Charm", 199, Rarity.UNCOMMON, mage.cards.m.MaestrosCharm.class));
|
||||
cards.add(new SetCardInfo("Mountain", 278, Rarity.LAND, mage.cards.basiclands.Mountain.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Plains", 272, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
|
||||
cards.add(new SetCardInfo("Raffine's Tower", 254, Rarity.RARE, mage.cards.r.RaffinesTower.class));
|
||||
|
|
|
@ -43917,7 +43917,8 @@ Soulstealer Axe|Alchemy: Innistrad|60|U|{1}|Artifact - Equipment|||Equipped crea
|
|||
Wickerwing Effigy|Alchemy: Innistrad|61|R|{3}|Artifact Creature - Scarecrow|1|4|Defender$You may look at the top card of your library any time.$You may cast creature spells from the top of your library.$Whenever you cast a creature spell from your library, it becomes a black Bird in addition to its other colors and types, has flying, and has base power and toughness 1/1.|
|
||||
Ominous Traveler|Alchemy: Innistrad|62|R|{2}|Creature - Human|1|1|When Ominous Traveler enters the battlefield, draft a card from Ominous Traveler's spellbook. That card perpetually gains "You may spend mana as though it were mana of any color to cast this spell" and "When you cast this spell, return a card named Ominous Traveler you control to its owner's hand."|
|
||||
Forsaken Crossroads|Alchemy: Innistrad|63|R||Land|||Forsaken Crossroads enters the battlefield tapped.$As Forsaken Crossroads enters the battlefield, choose a color.$When Forsaken Crossroads enters the battlefield, scry 1. If you weren't the starting player, you may untap Forsaken Crossroads instead.${T}: Add one mana of the chosen color.|
|
||||
Brokers Ascendancy|Streets of New Capenna|170|R|{G}{U}{W}|Enchantment|||At the beginning of your end step, put a +1/+1 counter on each creature you control and a loyalty counter on each planeswalker you control.|
|
||||
Brokers Ascendancy|Streets of New Capenna|170|R|{G}{W}{U}|Enchantment|||At the beginning of your end step, put a +1/+1 counter on each creature you control and a loyalty counter on each planeswalker you control.|
|
||||
Maestros Charm|Streets of New Capenna|199|U|{U}{B}{R}|Instant|||Choose one —$• Look at the top five cards of your library. Put one of those cards into your hand and the rest into your graveyard.$• Each opponent loses 3 life and you gain 3 life.$• Maestros Charm deals 5 damage to target creature or planeswalker.|
|
||||
Jetmir's Garden|Streets of New Capenna|250|R||Land - Mountain Forest Plains|||({T}: Add {R}, {G}, or {W}.)$Jetmir's Garden enters the battlefield tapped.$Cycling {3}|
|
||||
Raffine's Tower|Streets of New Capenna|254|R||Land - Plains Island Swamp|||({T}: Add {W}, {U}, or {B}.)$Raffine's Tower enters the battlefield tapped.$Cycling {3}|
|
||||
Spara's Headquarters|Streets of New Capenna|257|R||Land - Forest Plains Island|||({T}: Add {G}, {W}, or {U}.)$Spara's Headquarters enters the battlefield tapped.$Cycling {3}|
|
||||
|
|
Loading…
Reference in a new issue