forked from External/mage
[TDM] Implement Marang River Regent
This commit is contained in:
parent
2c13c30f5d
commit
aeffd36bcd
2 changed files with 54 additions and 0 deletions
53
Mage.Sets/src/mage/cards/m/MarangRiverRegent.java
Normal file
53
Mage.Sets/src/mage/cards/m/MarangRiverRegent.java
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
package mage.cards.m;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
import mage.abilities.effects.common.DrawDiscardControllerEffect;
|
||||
import mage.abilities.effects.common.ReturnToHandTargetEffect;
|
||||
import mage.cards.OmenCard;
|
||||
import mage.constants.SubType;
|
||||
import mage.abilities.keyword.FlyingAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.target.TargetPermanent;
|
||||
import mage.target.common.TargetNonlandPermanent;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Jmlundeen
|
||||
*/
|
||||
public final class MarangRiverRegent extends OmenCard {
|
||||
|
||||
public MarangRiverRegent(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{4}{U}{U}", "Coil and Catch", "{3}{U}");
|
||||
|
||||
this.subtype.add(SubType.DRAGON);
|
||||
this.power = new MageInt(6);
|
||||
this.toughness = new MageInt(7);
|
||||
|
||||
// Flying
|
||||
this.addAbility(FlyingAbility.getInstance());
|
||||
|
||||
// When this creature enters, return up to two other target nonland permanents to their owners' hands.
|
||||
Ability ability = new EntersBattlefieldTriggeredAbility(new ReturnToHandTargetEffect());
|
||||
ability.addTarget(new TargetNonlandPermanent(0, 2));
|
||||
this.addAbility(ability);
|
||||
|
||||
// Coil and Catch
|
||||
// Draw three cards, then discard a card.
|
||||
this.getSpellCard().getSpellAbility().addEffect(new DrawDiscardControllerEffect(3, 1));
|
||||
this.finalizeOmen();
|
||||
}
|
||||
|
||||
private MarangRiverRegent(final MarangRiverRegent card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MarangRiverRegent copy() {
|
||||
return new MarangRiverRegent(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -144,6 +144,7 @@ public final class TarkirDragonstorm extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Lotuslight Dancers", 363, Rarity.RARE, mage.cards.l.LotuslightDancers.class, NON_FULL_USE_VARIOUS));
|
||||
cards.add(new SetCardInfo("Loxodon Battle Priest", 15, Rarity.UNCOMMON, mage.cards.l.LoxodonBattlePriest.class));
|
||||
cards.add(new SetCardInfo("Mammoth Bellow", 205, Rarity.UNCOMMON, mage.cards.m.MammothBellow.class));
|
||||
cards.add(new SetCardInfo("Marang River Regent", 51, Rarity.RARE, mage.cards.m.MarangRiverRegent.class));
|
||||
cards.add(new SetCardInfo("Mardu Devotee", 16, Rarity.COMMON, mage.cards.m.MarduDevotee.class));
|
||||
cards.add(new SetCardInfo("Mardu Monument", 245, Rarity.UNCOMMON, mage.cards.m.MarduMonument.class));
|
||||
cards.add(new SetCardInfo("Mardu Siegebreaker", 206, Rarity.RARE, mage.cards.m.MarduSiegebreaker.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue