mirror of
https://github.com/correl/mage.git
synced 2024-12-27 03:00:13 +00:00
Implemented Morphon, the Boundless
This commit is contained in:
parent
17f9822c5d
commit
f9ebef401c
2 changed files with 69 additions and 0 deletions
68
Mage.Sets/src/mage/cards/m/MorophonTheBoundless.java
Normal file
68
Mage.Sets/src/mage/cards/m/MorophonTheBoundless.java
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
package mage.cards.m;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.AsEntersBattlefieldAbility;
|
||||||
|
import mage.abilities.common.SimpleStaticAbility;
|
||||||
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
|
import mage.abilities.effects.common.ChooseCreatureTypeEffect;
|
||||||
|
import mage.abilities.effects.common.continuous.BoostAllOfChosenSubtypeEffect;
|
||||||
|
import mage.abilities.effects.common.cost.SpellsCostReductionControllerEffect;
|
||||||
|
import mage.abilities.keyword.ChangelingAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.*;
|
||||||
|
import mage.filter.FilterCard;
|
||||||
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
|
import mage.filter.predicate.mageobject.ChosenSubtypePredicate;
|
||||||
|
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class MorophonTheBoundless extends CardImpl {
|
||||||
|
|
||||||
|
private static final FilterCard filter = new FilterCard("Spells of the chosen type");
|
||||||
|
private static final FilterCreaturePermanent filter2
|
||||||
|
= new FilterCreaturePermanent("creatures you control of the chosen type");
|
||||||
|
|
||||||
|
static {
|
||||||
|
filter.add(new ChosenSubtypePredicate());
|
||||||
|
filter2.add(new ControllerPredicate(TargetController.YOU));
|
||||||
|
}
|
||||||
|
|
||||||
|
public MorophonTheBoundless(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{7}");
|
||||||
|
|
||||||
|
this.addSuperType(SuperType.LEGENDARY);
|
||||||
|
this.subtype.add(SubType.SHAPESHIFTER);
|
||||||
|
this.power = new MageInt(6);
|
||||||
|
this.toughness = new MageInt(6);
|
||||||
|
|
||||||
|
// Changeling
|
||||||
|
this.addAbility(ChangelingAbility.getInstance());
|
||||||
|
|
||||||
|
// As Morophon, the Boundless enters the battlefield, choose a creature type.
|
||||||
|
this.addAbility(new AsEntersBattlefieldAbility(new ChooseCreatureTypeEffect(Outcome.BoostCreature)));
|
||||||
|
|
||||||
|
// Spells of the chosen type you cast cost {W}{U}{B}{R}{G} less to cast. This effect reduces only the amount of colored mana you pay.
|
||||||
|
this.addAbility(new SimpleStaticAbility(new SpellsCostReductionControllerEffect(
|
||||||
|
filter, new ManaCostsImpl("{W}{U}{B}{R}{G}")
|
||||||
|
)));
|
||||||
|
|
||||||
|
// Other creatures you control of the chosen type get +1/+1.
|
||||||
|
this.addAbility(new SimpleStaticAbility(new BoostAllOfChosenSubtypeEffect(
|
||||||
|
1, 1, Duration.WhileOnBattlefield, filter2, true
|
||||||
|
)));
|
||||||
|
}
|
||||||
|
|
||||||
|
private MorophonTheBoundless(final MorophonTheBoundless card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public MorophonTheBoundless copy() {
|
||||||
|
return new MorophonTheBoundless(this);
|
||||||
|
}
|
||||||
|
}
|
|
@ -63,6 +63,7 @@ public final class ModernHorizons extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Lightning Skelemental", 208, Rarity.RARE, mage.cards.l.LightningSkelemental.class));
|
cards.add(new SetCardInfo("Lightning Skelemental", 208, Rarity.RARE, mage.cards.l.LightningSkelemental.class));
|
||||||
cards.add(new SetCardInfo("Man-o'-War", 55, Rarity.COMMON, mage.cards.m.ManOWar.class));
|
cards.add(new SetCardInfo("Man-o'-War", 55, Rarity.COMMON, mage.cards.m.ManOWar.class));
|
||||||
cards.add(new SetCardInfo("Martyr's Soul", 19, Rarity.COMMON, mage.cards.m.MartyrsSoul.class));
|
cards.add(new SetCardInfo("Martyr's Soul", 19, Rarity.COMMON, mage.cards.m.MartyrsSoul.class));
|
||||||
|
cards.add(new SetCardInfo("Morophon, the Boundless", 1, Rarity.MYTHIC, mage.cards.m.MorophonTheBoundless.class));
|
||||||
cards.add(new SetCardInfo("Mother Bear", 171, Rarity.COMMON, mage.cards.m.MotherBear.class));
|
cards.add(new SetCardInfo("Mother Bear", 171, Rarity.COMMON, mage.cards.m.MotherBear.class));
|
||||||
cards.add(new SetCardInfo("Munitions Expert", 209, Rarity.UNCOMMON, mage.cards.m.MunitionsExpert.class));
|
cards.add(new SetCardInfo("Munitions Expert", 209, Rarity.UNCOMMON, mage.cards.m.MunitionsExpert.class));
|
||||||
cards.add(new SetCardInfo("Nimble Mongoose", 174, Rarity.COMMON, mage.cards.n.NimbleMongoose.class));
|
cards.add(new SetCardInfo("Nimble Mongoose", 174, Rarity.COMMON, mage.cards.n.NimbleMongoose.class));
|
||||||
|
|
Loading…
Reference in a new issue