forked from External/mage
implement [MH3] Boggart Trawler // Boggart Bog (#12320)
This commit is contained in:
parent
78eff558f5
commit
77a8f57026
2 changed files with 53 additions and 0 deletions
52
Mage.Sets/src/mage/cards/b/BoggartTrawler.java
Normal file
52
Mage.Sets/src/mage/cards/b/BoggartTrawler.java
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
package mage.cards.b;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.common.AsEntersBattlefieldAbility;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.costs.common.PayLifeCost;
|
||||
import mage.abilities.effects.common.ExileGraveyardAllTargetPlayerEffect;
|
||||
import mage.abilities.effects.common.TapSourceUnlessPaysEffect;
|
||||
import mage.abilities.mana.BlackManaAbility;
|
||||
import mage.constants.SubType;
|
||||
import mage.target.TargetPlayer;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.cards.ModalDoubleFacedCard;
|
||||
import mage.constants.CardType;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author grimreap124
|
||||
*/
|
||||
public final class BoggartTrawler extends ModalDoubleFacedCard {
|
||||
|
||||
public BoggartTrawler(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo,
|
||||
new CardType[] { CardType.CREATURE }, new SubType[] { SubType.GOBLIN }, "{2}{B}",
|
||||
"Boggart Bog", new CardType[] { CardType.LAND }, new SubType[] {}, "");
|
||||
|
||||
this.getLeftHalfCard().setPT(new MageInt(3), new MageInt(1));
|
||||
|
||||
// When Boggart Trawler enters the battlefield, exile target player's graveyard.
|
||||
EntersBattlefieldTriggeredAbility ability = new EntersBattlefieldTriggeredAbility(
|
||||
new ExileGraveyardAllTargetPlayerEffect());
|
||||
ability.addTarget(new TargetPlayer());
|
||||
this.getLeftHalfCard().addAbility(ability);
|
||||
|
||||
// As Boggart Bog 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"));
|
||||
this.getRightHalfCard().addAbility(new BlackManaAbility());
|
||||
|
||||
}
|
||||
|
||||
private BoggartTrawler(final BoggartTrawler card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public BoggartTrawler copy() {
|
||||
return new BoggartTrawler(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,6 +29,7 @@ public final class ModernHorizons3 extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Basking Broodscale", 145, Rarity.COMMON, mage.cards.b.BaskingBroodscale.class));
|
||||
cards.add(new SetCardInfo("Bloodsoaked Insight", 252, Rarity.UNCOMMON, mage.cards.b.BloodsoakedInsight.class));
|
||||
cards.add(new SetCardInfo("Bloodstained Mire", 216, Rarity.RARE, mage.cards.b.BloodstainedMire.class));
|
||||
cards.add(new SetCardInfo("Boggart Trawler", 243, Rarity.UNCOMMON, mage.cards.b.BoggartTrawler.class));
|
||||
cards.add(new SetCardInfo("Brainsurge", 53, Rarity.UNCOMMON, mage.cards.b.Brainsurge.class));
|
||||
cards.add(new SetCardInfo("Breaker of Creation", 1, Rarity.UNCOMMON, mage.cards.b.BreakerOfCreation.class));
|
||||
cards.add(new SetCardInfo("Breya, Etherium Shaper", 289, Rarity.MYTHIC, mage.cards.b.BreyaEtheriumShaper.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue