Implemented Loch Dragon

This commit is contained in:
Evan Kranzler 2019-09-13 17:58:50 -04:00
parent 8806174cae
commit 909f35fb2f
3 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.l;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldOrAttacksSourceTriggeredAbility;
import mage.abilities.costs.common.DiscardCardCost;
import mage.abilities.effects.common.DoIfCostPaid;
import mage.abilities.effects.common.DrawCardSourceControllerEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class LochDragon extends CardImpl {
public LochDragon(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{U/R}{U/R}{U/R}{U/R}");
this.subtype.add(SubType.DRAGON);
this.power = new MageInt(3);
this.toughness = new MageInt(2);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Whenever Loch Dragon enters the battlefield or attacks, you may discard a card. If you do, draw a card.
this.addAbility(new EntersBattlefieldOrAttacksSourceTriggeredAbility(
new DoIfCostPaid(new DrawCardSourceControllerEffect(1), new DiscardCardCost())
));
}
private LochDragon(final LochDragon card) {
super(card);
}
@Override
public LochDragon copy() {
return new LochDragon(this);
}
}

View file

@ -102,6 +102,7 @@ public final class ThroneOfEldraine extends ExpansionSet {
cards.add(new SetCardInfo("Knight of the Keep", 19, Rarity.COMMON, mage.cards.k.KnightOfTheKeep.class));
cards.add(new SetCardInfo("Knights' Charge", 328, Rarity.RARE, mage.cards.k.KnightsCharge.class));
cards.add(new SetCardInfo("Korvold, Fae-Cursed King", 329, Rarity.MYTHIC, mage.cards.k.KorvoldFaeCursedKing.class));
cards.add(new SetCardInfo("Loch Dragon", 211, Rarity.UNCOMMON, mage.cards.l.LochDragon.class));
cards.add(new SetCardInfo("Lochmere Serpent", 195, Rarity.RARE, mage.cards.l.LochmereSerpent.class));
cards.add(new SetCardInfo("Lost Legion", 94, Rarity.COMMON, mage.cards.l.LostLegion.class));
cards.add(new SetCardInfo("Lovestruck Beast", 165, Rarity.RARE, mage.cards.l.LovestruckBeast.class));

View file

@ -36138,6 +36138,7 @@ Arcanist's Owl|Throne of Eldraine|206|U|{W/U}{W/U}{W/U}{W/U}|Artifact Creature -
Covetous Urge|Throne of Eldraine|207|U|{U/B}{U/B}{U/B}{U/B}|Sorcery|||Target opponent reveals their hand. You choose a nonland card from that player's graveyard or hand and exile it. You may cast that card for as long as it remains exiled, and you may spend mana as though it were mana of any color to cast that spell.|
Elite Headhunter|Throne of Eldraine|209|U|{B/R}{B/R}{B/R}{B/R}|Creature - Human Knight|2|3|Menace${B/R}{B/R}{B/R}, Sacrifice another creature or an artifact: Elite Headhunter deals 2 damage to target creature or planeswalker.|
Fireborn Knight|Throne of Eldraine|210|U|{R/W}{R/W}{R/W}{R/W}|Creature - Human Knight|2|3|Double strike${R/W}{R/W}{R/W}{R/W}: Fireborn Knight gets +1/+1 until end of turn.|
Loch Dragon|Throne of Eldraine|211|U|{U/R}{U/R}{U/R}{U/R}|Creature - Dragon|3|2|Flying$Whenever Loch Dragon enters the battlefield or attacks, you may discard a card. If you do, draw a card.|
Bring Back|Throne of Eldraine|212|U|{G/W}{G/W}{G/W}{G/W}|Sorcery - Adventure|2|2|Create two 1/1 white Human creature tokens.|
Oakhame Ranger|Throne of Eldraine|212|U|{G/W}{G/W}{G/W}{G/W}|Creature - Elf Knight|2|2|{T}: Creatures you control get +1/+1 until end of turn.|
Thunderous Snapper|Throne of Eldraine|215|U|{G/U}{G/U}{G/U}{G/U}|Creature - Turtle Hydra|4|4|Whenever you cast a spell with converted mana cost 5 or greater, draw a card.|