mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 03:22:00 -08:00
[LCI] Implement Cavern Stomper
This commit is contained in:
parent
e701b1a7e9
commit
01156530dc
2 changed files with 48 additions and 0 deletions
47
Mage.Sets/src/mage/cards/c/CavernStomper.java
Normal file
47
Mage.Sets/src/mage/cards/c/CavernStomper.java
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
package mage.cards.c;
|
||||||
|
|
||||||
|
import mage.MageInt;
|
||||||
|
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||||
|
import mage.abilities.common.SimpleActivatedAbility;
|
||||||
|
import mage.abilities.costs.mana.ManaCostsImpl;
|
||||||
|
import mage.abilities.effects.common.combat.CantBeBlockedByCreaturesSourceEffect;
|
||||||
|
import mage.abilities.effects.keyword.ScryEffect;
|
||||||
|
import mage.abilities.keyword.DauntAbility;
|
||||||
|
import mage.cards.CardImpl;
|
||||||
|
import mage.cards.CardSetInfo;
|
||||||
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.Duration;
|
||||||
|
import mage.constants.SubType;
|
||||||
|
|
||||||
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author TheElk801
|
||||||
|
*/
|
||||||
|
public final class CavernStomper extends CardImpl {
|
||||||
|
|
||||||
|
public CavernStomper(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}");
|
||||||
|
|
||||||
|
this.subtype.add(SubType.DINOSAUR);
|
||||||
|
this.power = new MageInt(7);
|
||||||
|
this.toughness = new MageInt(7);
|
||||||
|
|
||||||
|
// When Cavern Stomper enters the battlefield, scry 2.
|
||||||
|
this.addAbility(new EntersBattlefieldTriggeredAbility(new ScryEffect(2)));
|
||||||
|
|
||||||
|
// {3}{G}: Cavern Stomper can't be blocked by creatures with power 2 or less this turn.
|
||||||
|
this.addAbility(new SimpleActivatedAbility(new CantBeBlockedByCreaturesSourceEffect(
|
||||||
|
DauntAbility.getFilter(), Duration.WhileOnBattlefield
|
||||||
|
), new ManaCostsImpl<>("{3}{G}")));
|
||||||
|
}
|
||||||
|
|
||||||
|
private CavernStomper(final CavernStomper card) {
|
||||||
|
super(card);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CavernStomper copy() {
|
||||||
|
return new CavernStomper(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -50,6 +50,7 @@ public final class TheLostCavernsOfIxalan extends ExpansionSet {
|
||||||
cards.add(new SetCardInfo("Captain Storm, Cosmium Raider", 227, Rarity.UNCOMMON, mage.cards.c.CaptainStormCosmiumRaider.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("Careening Mine Cart", 247, Rarity.UNCOMMON, mage.cards.c.CareeningMineCart.class));
|
||||||
cards.add(new SetCardInfo("Cartographer's Companion", 248, Rarity.COMMON, mage.cards.c.CartographersCompanion.class));
|
cards.add(new SetCardInfo("Cartographer's Companion", 248, Rarity.COMMON, mage.cards.c.CartographersCompanion.class));
|
||||||
|
cards.add(new SetCardInfo("Cavern Stomper", 177, Rarity.COMMON, mage.cards.c.CavernStomper.class));
|
||||||
cards.add(new SetCardInfo("Cavern of Souls", 269, Rarity.MYTHIC, mage.cards.c.CavernOfSouls.class));
|
cards.add(new SetCardInfo("Cavern of Souls", 269, Rarity.MYTHIC, mage.cards.c.CavernOfSouls.class));
|
||||||
cards.add(new SetCardInfo("Cavernous Maw", 270, Rarity.UNCOMMON, mage.cards.c.CavernousMaw.class));
|
cards.add(new SetCardInfo("Cavernous Maw", 270, Rarity.UNCOMMON, mage.cards.c.CavernousMaw.class));
|
||||||
cards.add(new SetCardInfo("Cenote Scout", 178, Rarity.UNCOMMON, mage.cards.c.CenoteScout.class));
|
cards.add(new SetCardInfo("Cenote Scout", 178, Rarity.UNCOMMON, mage.cards.c.CenoteScout.class));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue