mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Implemented Murmuring Mystic
This commit is contained in:
parent
45960d63a9
commit
909fcf749d
3 changed files with 77 additions and 0 deletions
43
Mage.Sets/src/mage/cards/m/MurmuringMystic.java
Normal file
43
Mage.Sets/src/mage/cards/m/MurmuringMystic.java
Normal 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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue