[CLB] Implemented Young Red Dragon

This commit is contained in:
Evan Kranzler 2022-05-26 08:24:20 -04:00
parent c6947aa425
commit 3c08b75893
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.y;
import mage.MageInt;
import mage.abilities.common.CantBlockAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.AdventureCard;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.game.permanent.token.TreasureToken;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class YoungRedDragon extends AdventureCard {
public YoungRedDragon(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, new CardType[]{CardType.INSTANT}, "{3}{R}", "Bathe in Gold", "{1}{R}");
this.subtype.add(SubType.DRAGON);
this.power = new MageInt(3);
this.toughness = new MageInt(2);
// Flying
this.addAbility(FlyingAbility.getInstance());
// Young Red Dragon can't block.
this.addAbility(new CantBlockAbility());
// Bathe in Gold
// Create a Treasure token.
this.getSpellCard().getSpellAbility().addEffect(new CreateTokenEffect(new TreasureToken()));
}
private YoungRedDragon(final YoungRedDragon card) {
super(card);
}
@Override
public YoungRedDragon copy() {
return new YoungRedDragon(this);
}
}

View file

@ -185,6 +185,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 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));
}
}