implement [MH3] Pinnacle Monk // Mystic Peak

This commit is contained in:
Susucre 2024-06-02 16:57:46 +02:00
parent 58bf54b412
commit 0b1073ec52
3 changed files with 69 additions and 1 deletions

View file

@ -63,7 +63,7 @@ public final class HydroelectricSpecimen extends ModalDoubleFacedCard {
"you may pay 3 life. If you don't, it enters the battlefield tapped"
));
// {T}: Add {G}.
// {T}: Add {U}.
this.getRightHalfCard().addAbility(new BlueManaAbility());
}

View file

@ -0,0 +1,67 @@
package mage.cards.p;
import mage.MageInt;
import mage.abilities.Ability;
import mage.abilities.common.AsEntersBattlefieldAbility;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.costs.common.PayLifeCost;
import mage.abilities.effects.common.ReturnFromGraveyardToHandTargetEffect;
import mage.abilities.effects.common.TapSourceUnlessPaysEffect;
import mage.abilities.keyword.ProwessAbility;
import mage.abilities.mana.RedManaAbility;
import mage.cards.CardSetInfo;
import mage.cards.ModalDoubleFacedCard;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.target.common.TargetCardInYourGraveyard;
import java.util.UUID;
/**
* @author Susucr
*/
public final class PinnacleMonk extends ModalDoubleFacedCard {
public PinnacleMonk(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo,
new CardType[]{CardType.CREATURE}, new SubType[]{SubType.DJINN, SubType.MONK}, "{3}{R}{R}",
"Mystic Peak", new CardType[]{CardType.LAND}, new SubType[]{}, ""
);
// 1.
// Pinnacle Monk
// Creature Djinn Monk
this.getLeftHalfCard().setPT(new MageInt(2), new MageInt(2));
// Prowess
this.getLeftHalfCard().addAbility(new ProwessAbility());
// When Pinnacle Monk enters the battlefield, return target instant or sorcery card from your graveyard to your hand.
Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnFromGraveyardToHandTargetEffect());
ability.addTarget(new TargetCardInYourGraveyard(StaticFilters.FILTER_CARD_INSTANT_OR_SORCERY_FROM_YOUR_GRAVEYARD));
this.getLeftHalfCard().addAbility(ability);
// 2.
// Mystic Peak
// Land
// As Mystic Peak enters the battlefield, you may pay 3 life. If you don't, it enters the battlefield tapped.
this.getRightHalfCard().addAbility(new AsEntersBattlefieldAbility(
new TapSourceUnlessPaysEffect(new PayLifeCost(3)),
"you may pay 3 life. If you don't, it enters the battlefield tapped"
));
// {T}: Add {R}.
this.getRightHalfCard().addAbility(new RedManaAbility());
}
private PinnacleMonk(final PinnacleMonk card) {
super(card);
}
@Override
public PinnacleMonk copy() {
return new PinnacleMonk(this);
}
}

View file

@ -195,6 +195,7 @@ public final class ModernHorizons3 extends ExpansionSet {
cards.add(new SetCardInfo("Phlage, Titan of Fire's Fury", 197, Rarity.MYTHIC, mage.cards.p.PhlageTitanOfFiresFury.class));
cards.add(new SetCardInfo("Phyrexian Ironworks", 130, Rarity.UNCOMMON, mage.cards.p.PhyrexianIronworks.class));
cards.add(new SetCardInfo("Phyrexian Tower", 303, Rarity.MYTHIC, mage.cards.p.PhyrexianTower.class));
cards.add(new SetCardInfo("Pinnacle Monk", 246, Rarity.UNCOMMON, mage.cards.p.PinnacleMonk.class));
cards.add(new SetCardInfo("Plains", 304, Rarity.LAND, mage.cards.basiclands.Plains.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Planar Genesis", 198, Rarity.UNCOMMON, mage.cards.p.PlanarGenesis.class));
cards.add(new SetCardInfo("Polluted Delta", 224, Rarity.RARE, mage.cards.p.PollutedDelta.class));