[BRO] Implemented Deathbloom Ritualist

This commit is contained in:
Daniel Bomar 2022-11-05 12:40:00 -05:00
parent bd8612d25d
commit 8604e4aa83
No known key found for this signature in database
GPG key ID: C86C8658F4023918
2 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,49 @@
package mage.cards.d;
import java.util.UUID;
import mage.MageInt;
import mage.Mana;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.dynamicvalue.common.CardsInControllerGraveyardCount;
import mage.abilities.hint.ValueHint;
import mage.abilities.mana.DynamicManaAbility;
import mage.constants.SubType;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.StaticFilters;
/**
*
* @author weirddan455
*/
public final class DeathbloomRitualist extends CardImpl {
private static final CardsInControllerGraveyardCount count = new CardsInControllerGraveyardCount(StaticFilters.FILTER_CARD_CREATURE);
private static final ValueHint hint = new ValueHint("Creature cards in your graveyard", count);
public DeathbloomRitualist(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{B}{G}");
this.subtype.add(SubType.ELF);
this.subtype.add(SubType.WARLOCK);
this.power = new MageInt(3);
this.toughness = new MageInt(5);
// {T}: Add X mana of any one color, where X is the number of creature cards in your graveyard.
this.addAbility(new DynamicManaAbility(
Mana.AnyMana(1), count, new TapSourceCost(),
"Add X mana of any one color, where X is the number of creature cards in your graveyard",
true
).addHint(hint));
}
private DeathbloomRitualist(final DeathbloomRitualist card) {
super(card);
}
@Override
public DeathbloomRitualist copy() {
return new DeathbloomRitualist(this);
}
}

View file

@ -78,6 +78,7 @@ public final class TheBrothersWar extends ExpansionSet {
cards.add(new SetCardInfo("Cradle Clearcutter", 198, Rarity.UNCOMMON, mage.cards.c.CradleClearcutter.class));
cards.add(new SetCardInfo("Curate", 44, Rarity.COMMON, mage.cards.c.Curate.class));
cards.add(new SetCardInfo("Deadly Riposte", 5, Rarity.COMMON, mage.cards.d.DeadlyRiposte.class));
cards.add(new SetCardInfo("Deathbloom Ritualist", 208, Rarity.RARE, mage.cards.d.DeathbloomRitualist.class));
cards.add(new SetCardInfo("Defabricate", 45, Rarity.UNCOMMON, mage.cards.d.Defabricate.class));
cards.add(new SetCardInfo("Demolition Field", 260, Rarity.UNCOMMON, mage.cards.d.DemolitionField.class));
cards.add(new SetCardInfo("Depth Charge Colossus", 78, Rarity.COMMON, mage.cards.d.DepthChargeColossus.class));