Implemented Murmuring Mystic

This commit is contained in:
Evan Kranzler 2018-09-04 23:15:07 -04:00
parent 45960d63a9
commit 909fcf749d
3 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.m;
import java.util.UUID;
import mage.MageInt;
import mage.abilities.common.SpellCastControllerTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
import mage.game.permanent.token.BirdIllusionToken;
/**
*
* @author TheElk801
*/
public final class MurmuringMystic extends CardImpl {
public MurmuringMystic(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{U}");
this.subtype.add(SubType.HUMAN);
this.subtype.add(SubType.WIZARD);
this.power = new MageInt(1);
this.toughness = new MageInt(5);
// Whenever you cast an instant or sorcery spell, create a 1/1 blue Bird Illusion creature token with flying.
this.addAbility(new SpellCastControllerTriggeredAbility(
new CreateTokenEffect(new BirdIllusionToken()),
StaticFilters.FILTER_SPELL_INSTANT_OR_SORCERY, false
));
}
public MurmuringMystic(final MurmuringMystic card) {
super(card);
}
@Override
public MurmuringMystic copy() {
return new MurmuringMystic(this);
}
}

View file

@ -40,6 +40,7 @@ public final class GuildsOfRavnica extends ExpansionSet {
cards.add(new SetCardInfo("Legion Warboss", 109, Rarity.RARE, mage.cards.l.LegionWarboss.class));
cards.add(new SetCardInfo("Moodmark Painter", 78, Rarity.COMMON, mage.cards.m.MoodmarkPainter.class));
cards.add(new SetCardInfo("Mountain", 263, Rarity.LAND, mage.cards.basiclands.Mountain.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Murmuring Mystic", 45, Rarity.UNCOMMON, mage.cards.m.MurmuringMystic.class));
cards.add(new SetCardInfo("Narcomoeba", 47, Rarity.RARE, mage.cards.n.Narcomoeba.class));
cards.add(new SetCardInfo("Necrotic Wound", 79, Rarity.UNCOMMON, mage.cards.n.NecroticWound.class));
cards.add(new SetCardInfo("Overgrown Tomb", 253, Rarity.RARE, mage.cards.o.OvergrownTomb.class));

View file

@ -0,0 +1,33 @@
package mage.game.permanent.token;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.MageInt;
import mage.abilities.keyword.FlyingAbility;
/**
*
* @author TheElk801
*/
public final class BirdIllusionToken extends TokenImpl {
public BirdIllusionToken() {
super("Bird Illusion", "1/1 blue Bird Illusion creature token with flying");
cardType.add(CardType.CREATURE);
color.setBlue(true);
subtype.add(SubType.BIRD);
subtype.add(SubType.ILLUSION);
power = new MageInt(1);
toughness = new MageInt(1);
this.addAbility(FlyingAbility.getInstance());
}
public BirdIllusionToken(final BirdIllusionToken token) {
super(token);
}
public BirdIllusionToken copy() {
return new BirdIllusionToken(this);
}
}