mirror of
https://github.com/correl/mage.git
synced 2024-11-15 03:00:16 +00:00
[BRO] Implemented Deathbloom Ritualist
This commit is contained in:
parent
bd8612d25d
commit
8604e4aa83
2 changed files with 50 additions and 0 deletions
49
Mage.Sets/src/mage/cards/d/DeathbloomRitualist.java
Normal file
49
Mage.Sets/src/mage/cards/d/DeathbloomRitualist.java
Normal 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);
|
||||
}
|
||||
}
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue