From 194c1658324ca7c66211daf95dffc2edaef42448 Mon Sep 17 00:00:00 2001 From: Evan Kranzler Date: Thu, 26 May 2022 20:45:27 -0400 Subject: [PATCH] [CLB] Implemented Young Blue Dragon --- .../src/mage/cards/y/YoungBlueDragon.java | 43 +++++++++++++++++++ .../CommanderLegendsBattleForBaldursGate.java | 1 + 2 files changed, 44 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/y/YoungBlueDragon.java diff --git a/Mage.Sets/src/mage/cards/y/YoungBlueDragon.java b/Mage.Sets/src/mage/cards/y/YoungBlueDragon.java new file mode 100644 index 0000000000..1520a02813 --- /dev/null +++ b/Mage.Sets/src/mage/cards/y/YoungBlueDragon.java @@ -0,0 +1,43 @@ +package mage.cards.y; + +import mage.MageInt; +import mage.abilities.effects.common.DrawCardSourceControllerEffect; +import mage.abilities.effects.keyword.ScryEffect; +import mage.abilities.keyword.FlyingAbility; +import mage.cards.AdventureCard; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.SubType; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class YoungBlueDragon extends AdventureCard { + + public YoungBlueDragon(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.SORCERY}, "{4}{U}", "Sand Augury", "{1}{U}"); + + this.subtype.add(SubType.DRAGON); + this.power = new MageInt(3); + this.toughness = new MageInt(3); + + // Flying + this.addAbility(FlyingAbility.getInstance()); + + // Sand Augury + // Scry 1, then draw a card. + this.getSpellCard().getSpellAbility().addEffect(new ScryEffect(1, false)); + this.getSpellCard().getSpellAbility().addEffect(new DrawCardSourceControllerEffect(1).concatBy(", then")); + } + + private YoungBlueDragon(final YoungBlueDragon card) { + super(card); + } + + @Override + public YoungBlueDragon copy() { + return new YoungBlueDragon(this); + } +} diff --git a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java index 1af62d2c50..11045c3266 100644 --- a/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java +++ b/Mage.Sets/src/mage/sets/CommanderLegendsBattleForBaldursGate.java @@ -197,6 +197,7 @@ public final class CommanderLegendsBattleForBaldursGate extends ExpansionSet { cards.add(new SetCardInfo("White Plume Adventurer", 49, Rarity.RARE, mage.cards.w.WhitePlumeAdventurer.class)); cards.add(new SetCardInfo("Wilson, Refined Grizzly", 261, Rarity.UNCOMMON, mage.cards.w.WilsonRefinedGrizzly.class)); cards.add(new SetCardInfo("Wyll, Blade of Frontiers", 208, Rarity.RARE, mage.cards.w.WyllBladeOfFrontiers.class)); + cards.add(new SetCardInfo("Young Blue Dragon", 106, Rarity.COMMON, mage.cards.y.YoungBlueDragon.class)); cards.add(new SetCardInfo("Young Red Dragon", 210, Rarity.COMMON, mage.cards.y.YoungRedDragon.class)); cards.add(new SetCardInfo("Zevlor, Elturel Exile", 296, Rarity.RARE, mage.cards.z.ZevlorElturelExile.class)); }