Implemented Rapacious Dragon

This commit is contained in:
Evan Kranzler 2019-06-22 12:12:59 -04:00
parent e8a67b7bab
commit cb15d184d2
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,46 @@
package mage.cards.r;
import mage.MageInt;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.effects.common.CreateTokenEffect;
import mage.abilities.keyword.FlyingAbility;
import mage.cards.CardImpl;
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 RapaciousDragon extends CardImpl {
public RapaciousDragon(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{R}");
this.subtype.add(SubType.DRAGON);
this.power = new MageInt(3);
this.toughness = new MageInt(3);
// Flying
this.addAbility(FlyingAbility.getInstance());
// When Rapacious Dragon enters the battlefield, create two Treasure tokens.
this.addAbility(new EntersBattlefieldTriggeredAbility(
new CreateTokenEffect(new TreasureToken())
.setText("create two Treasure tokens. <i>(Theyre artifacts with " +
"\"{T}, Sacrifice this artifact: Add one mana of any color.\")</i>")
));
}
private RapaciousDragon(final RapaciousDragon card) {
super(card);
}
@Override
public RapaciousDragon copy() {
return new RapaciousDragon(this);
}
}

View file

@ -134,6 +134,7 @@ public final class CoreSet2020 extends ExpansionSet {
cards.add(new SetCardInfo("Planar Cleansing", 33, Rarity.RARE, mage.cards.p.PlanarCleansing.class));
cards.add(new SetCardInfo("Pulse of Murasa", 189, Rarity.UNCOMMON, mage.cards.p.PulseOfMurasa.class));
cards.add(new SetCardInfo("Raise the Alarm", 34, Rarity.COMMON, mage.cards.r.RaiseTheAlarm.class));
cards.add(new SetCardInfo("Rapacious Dragon", 153, Rarity.UNCOMMON, mage.cards.r.RapaciousDragon.class));
cards.add(new SetCardInfo("Reckless Air Strike", 154, Rarity.COMMON, mage.cards.r.RecklessAirStrike.class));
cards.add(new SetCardInfo("Renowned Weaponsmith", 72, Rarity.UNCOMMON, mage.cards.r.RenownedWeaponsmith.class));
cards.add(new SetCardInfo("Retributive Wand", 236, Rarity.UNCOMMON, mage.cards.r.RetributiveWand.class));