Implemented Footfall Crater

This commit is contained in:
Evan Kranzler 2020-04-04 11:41:15 -04:00
parent ebf709f4d8
commit 610d5af60f
3 changed files with 68 additions and 0 deletions

View file

@ -0,0 +1,66 @@
package mage.cards.f;
import mage.abilities.Ability;
import mage.abilities.common.SimpleActivatedAbility;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.costs.common.TapSourceCost;
import mage.abilities.costs.mana.ManaCostsImpl;
import mage.abilities.effects.common.AttachEffect;
import mage.abilities.effects.common.continuous.GainAbilityAttachedEffect;
import mage.abilities.effects.common.continuous.GainAbilityTargetEffect;
import mage.abilities.keyword.CyclingAbility;
import mage.abilities.keyword.EnchantAbility;
import mage.abilities.keyword.HasteAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.*;
import mage.target.TargetPermanent;
import mage.target.common.TargetCreaturePermanent;
import mage.target.common.TargetLandPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class FootfallCrater extends CardImpl {
public FootfallCrater(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{R}");
this.subtype.add(SubType.AURA);
// Enchant land
TargetPermanent auraTarget = new TargetLandPermanent();
this.getSpellAbility().addTarget(auraTarget);
this.getSpellAbility().addEffect(new AttachEffect(Outcome.BoostCreature));
Ability ability = new EnchantAbility(auraTarget.getTargetName());
this.addAbility(ability);
// Enchanted land has "{T}: Target creature gains trample and haste until end of turn."
ability = new SimpleActivatedAbility(new GainAbilityTargetEffect(
TrampleAbility.getInstance(), Duration.EndOfTurn
).setText("Target creature gains trample"), new TapSourceCost());
ability.addEffect(new GainAbilityTargetEffect(
HasteAbility.getInstance(), Duration.EndOfTurn
).setText("and haste until end of turn"));
ability.addTarget(new TargetCreaturePermanent());
this.addAbility(new SimpleStaticAbility(new GainAbilityAttachedEffect(
ability, AttachmentType.AURA, Duration.WhileOnBattlefield,
"enchanted land has \"{T}: Target creature gains trample and haste until end of turn.\""
)));
// Cycling {1}
this.addAbility(new CyclingAbility(new ManaCostsImpl("{1}")));
}
private FootfallCrater(final FootfallCrater card) {
super(card);
}
@Override
public FootfallCrater copy() {
return new FootfallCrater(this);
}
}

View file

@ -37,6 +37,7 @@ public final class IkoriaLairOfBehemoths extends ExpansionSet {
cards.add(new SetCardInfo("Dreamtail Heron", 47, Rarity.COMMON, mage.cards.d.DreamtailHeron.class));
cards.add(new SetCardInfo("Essence Scatter", 49, Rarity.COMMON, mage.cards.e.EssenceScatter.class));
cards.add(new SetCardInfo("Fertilid", 152, Rarity.COMMON, mage.cards.f.Fertilid.class));
cards.add(new SetCardInfo("Footfall Crater", 118, Rarity.UNCOMMON, mage.cards.f.FootfallCrater.class));
cards.add(new SetCardInfo("Fully Grown", 154, Rarity.COMMON, mage.cards.f.FullyGrown.class));
cards.add(new SetCardInfo("Gemrazer", 155, Rarity.RARE, mage.cards.g.Gemrazer.class));
cards.add(new SetCardInfo("Gloom Pangolin", 89, Rarity.COMMON, mage.cards.g.GloomPangolin.class));

View file

@ -36768,6 +36768,7 @@ Zagoth Mamba|Ikoria: Lair of Behemoths|106|U|{B}|Creature - Nightmare Snake|1|1|
Cloudpiercer|Ikoria: Lair of Behemoths|112|C|{4}{R}|Creature - Dinosaur|5|4|Mutate {3}{R}$Reach$Whenever this creature mutates, you may discard a card. If you do, draw a card.|
Drannith Stinger|Ikoria: Lair of Behemoths|113|C|{1}{R}|Creature - Human Wizard|2|2|Whenever you cycle another card, Drannith Stinger deals 1 damage to each opponent.$Cycling {1}|
Everquill Phoenix|Ikoria: Lair of Behemoths|114|R|{2}{R}{R}|Creature - Phoenix|4|4|Mutate {3}{R}$Flying$Whenever this creature mutates, create a red artifact token named Feather with "{1}, Sacrifice Feather: Return target Phoenix card from your graveyard to the battlefield tapped."|
Footfall Crater|Ikoria: Lair of Behemoths|118|U|{R}|Enchantment - Aura|||Enchant land$Enchanted land has "{T}: Target creature gains trample and haste until end of turn."$Cycling {1}|
Lukka, Coppercoat Outcast|Ikoria: Lair of Behemoths|125|M|{3}{R}{R}|Legendary Planeswalker - Lukka|5|+1: Exile the top three cards of your library. Creature cards exiled this way gain "You may cast this card from exile as long as you control a Lukka planeswalker."$2: Exile target creature you control, then reveal cards from the top of your library until you reveal a creature card with higher converted mana cost. Put that card onto the battlefield and the rest on the bottom of your library in a random order.$7: Each creature you control deals damage equal to its power to each opponent.|
Mythos of Vadrok|Ikoria: Lair of Behemoths|127|R|{2}{R}{R}|Sorcery|||Mythos of Vadrok deals 5 damage divided as you choose among any number of target creatures and/or planeswalkers. If {W}{U} was spent to cast this spell, until your next turn, those permanents can't attack or block and their activated abilities can't be activated.|
Shredded Sails|Ikoria: Lair of Behemoths|136|C|{1}{R}|Instant|||Choose one —$• Destroy target artifact.$• Shredded Sails deals 4 damage to target creature with flying.$Cycling {2}|