mirror of
https://github.com/magefree/mage.git
synced 2025-12-21 19:11:59 -08:00
[LCI] Implement Calamitous Cave-In
This commit is contained in:
parent
c31d29af6a
commit
1f0263071a
2 changed files with 41 additions and 0 deletions
40
Mage.Sets/src/mage/cards/c/CalamitousCaveIn.java
Normal file
40
Mage.Sets/src/mage/cards/c/CalamitousCaveIn.java
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
package mage.cards.c;
|
||||
|
||||
import mage.abilities.dynamicvalue.common.CavesControlledAndInGraveCount;
|
||||
import mage.abilities.effects.common.DamageAllEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.StaticFilters;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* @author Susucr
|
||||
*/
|
||||
public final class CalamitousCaveIn extends CardImpl {
|
||||
|
||||
public CalamitousCaveIn(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{R}");
|
||||
|
||||
// Calamitous Cave-In deals X damage to each creature and each planeswalker, where X is the number of Caves you control plus the number of Cave cards in your graveyard.
|
||||
this.getSpellAbility().addEffect(
|
||||
new DamageAllEffect(
|
||||
CavesControlledAndInGraveCount.WHERE_X,
|
||||
StaticFilters.FILTER_PERMANENT_CREATURE_OR_PLANESWALKER
|
||||
).setText("{this} deals X damage to each creature and each planeswalker, "
|
||||
+ "where X is the number of Caves you control plus the number of "
|
||||
+ "Cave cards in your graveyard")
|
||||
);
|
||||
this.getSpellAbility().addHint(CavesControlledAndInGraveCount.getHint());
|
||||
}
|
||||
|
||||
private CalamitousCaveIn(final CalamitousCaveIn card) {
|
||||
super(card);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CalamitousCaveIn copy() {
|
||||
return new CalamitousCaveIn(this);
|
||||
}
|
||||
}
|
||||
|
|
@ -35,6 +35,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
|||
cards.add(new SetCardInfo("Bonehoard Dracosaur", 134, Rarity.MYTHIC, mage.cards.b.BonehoardDracosaur.class));
|
||||
cards.add(new SetCardInfo("Breeches, Eager Pillager", 137, Rarity.RARE, mage.cards.b.BreechesEagerPillager.class));
|
||||
cards.add(new SetCardInfo("Broodrage Mycoid", 95, Rarity.COMMON, mage.cards.b.BroodrageMycoid.class));
|
||||
cards.add(new SetCardInfo("Calamitous Cave-In", 139, Rarity.UNCOMMON, mage.cards.c.CalamitousCaveIn.class));
|
||||
cards.add(new SetCardInfo("Captain Storm, Cosmium Raider", 227, Rarity.UNCOMMON, mage.cards.c.CaptainStormCosmiumRaider.class));
|
||||
cards.add(new SetCardInfo("Careening Mine Cart", 247, Rarity.UNCOMMON, mage.cards.c.CareeningMineCart.class));
|
||||
cards.add(new SetCardInfo("Cavern of Souls", 269, Rarity.MYTHIC, mage.cards.c.CavernOfSouls.class));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue