Implemented Frilled Mystic

This commit is contained in:
Evan Kranzler 2019-01-04 11:31:17 -05:00
parent aa8d484c89
commit e7cd4fea96
2 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,48 @@
package mage.cards.f;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CounterTargetEffect;
import mage.abilities.keyword.FlashAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.TargetSpell;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class FrilledMystic extends CardImpl {
public FrilledMystic(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U}{G}{U}{G}");
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.LIZARD);
this.subtype.add(SubType.WIZARD);
this.power = new MageInt(3);
this.toughness = new MageInt(2);
// Flash
this.addAbility(FlashAbility.getInstance());
// When Frilled Mystic enters the battlefield, you may counter target spell.
Ability ability = new EntersBattlefieldTriggeredAbility(new CounterTargetEffect(), true);
ability.addTarget(new TargetSpell());
this.addAbility(ability);
}
private FrilledMystic(final FrilledMystic card) {
super(card);
}
@Override
public FrilledMystic copy() {
return new FrilledMystic(this);
}
}
// nonagon infinity opens the door

View file

@ -50,6 +50,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
cards.add(new SetCardInfo("Emergency Powers", 169, Rarity.MYTHIC, mage.cards.e.EmergencyPowers.class));
cards.add(new SetCardInfo("End-Raze Forerunners", 124, Rarity.RARE, mage.cards.e.EndRazeForerunners.class));
cards.add(new SetCardInfo("Frenzied Arynx", 173, Rarity.COMMON, mage.cards.f.FrenziedArynx.class));
cards.add(new SetCardInfo("Frilled Mystic", 174, Rarity.UNCOMMON, mage.cards.f.FrilledMystic.class));
cards.add(new SetCardInfo("Gate Colossus", 232, Rarity.UNCOMMON, mage.cards.g.GateColossus.class));
cards.add(new SetCardInfo("Godless Shrine", 248, Rarity.RARE, mage.cards.g.GodlessShrine.class));
cards.add(new SetCardInfo("Growth Spiral", 178, Rarity.COMMON, mage.cards.g.GrowthSpiral.class));