[BLC] Implement Calamity of Cinders

This commit is contained in:
theelk801 2024-07-19 11:54:45 -04:00
parent 7918111087
commit bb14bb6ffc
2 changed files with 44 additions and 0 deletions

View file

@ -0,0 +1,43 @@
package mage.cards.c;
import mage.abilities.effects.common.DamageAllEffect;
import mage.abilities.keyword.ConvokeAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.filter.FilterPermanent;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.permanent.TappedPredicate;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class CalamityOfCinders extends CardImpl {
private static final FilterPermanent filter = new FilterCreaturePermanent("untapped creature");
static {
filter.add(TappedPredicate.UNTAPPED);
}
public CalamityOfCinders(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{5}{R}{R}");
// Convoke
this.addAbility(new ConvokeAbility());
// Calamity of Cinders deals 6 damage to each untapped creature.
this.getSpellAbility().addEffect(new DamageAllEffect(6, filter));
}
private CalamityOfCinders(final CalamityOfCinders card) {
super(card);
}
@Override
public CalamityOfCinders copy() {
return new CalamityOfCinders(this);
}
}

View file

@ -27,6 +27,7 @@ public final class BloomburrowCommander extends ExpansionSet {
cards.add(new SetCardInfo("Birds of Paradise", 81, Rarity.RARE, mage.cards.b.BirdsOfParadise.class));
cards.add(new SetCardInfo("Blasphemous Act", 114, Rarity.RARE, mage.cards.b.BlasphemousAct.class));
cards.add(new SetCardInfo("Boros Signet", 128, Rarity.UNCOMMON, mage.cards.b.BorosSignet.class));
cards.add(new SetCardInfo("Calamity of Cinders", 23, Rarity.RARE, mage.cards.c.CalamityOfCinders.class));
cards.add(new SetCardInfo("Casualties of War", 125, Rarity.RARE, mage.cards.c.CasualtiesOfWar.class));
cards.add(new SetCardInfo("Chaos Warp", 115, Rarity.RARE, mage.cards.c.ChaosWarp.class));
cards.add(new SetCardInfo("Chart a Course", 110, Rarity.UNCOMMON, mage.cards.c.ChartACourse.class));