[TLE] Implement Cracked Earth Technique

This commit is contained in:
theelk801 2025-11-11 11:09:03 -05:00
parent 3bca2e4eab
commit bfed992bf8
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,42 @@
package mage.cards.c;
import mage.abilities.effects.common.GainLifeEffect;
import mage.abilities.effects.keyword.EarthbendTargetEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SubType;
import mage.target.common.TargetControlledLandPermanent;
import mage.target.targetpointer.SecondTargetPointer;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class CrackedEarthTechnique extends CardImpl {
public CrackedEarthTechnique(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{4}{G}");
this.subtype.add(SubType.LESSON);
// Earthbend 3, then earthbend 3. You gain 3 life.
this.getSpellAbility().addEffect(new EarthbendTargetEffect(3));
this.getSpellAbility().addEffect(new EarthbendTargetEffect(3)
.setTargetPointer(new SecondTargetPointer())
.concatBy(", then"));
this.getSpellAbility().addTarget(new TargetControlledLandPermanent().withChooseHint("first target"));
this.getSpellAbility().addTarget(new TargetControlledLandPermanent().withChooseHint("second target"));
this.getSpellAbility().addEffect(new GainLifeEffect(3));
}
private CrackedEarthTechnique(final CrackedEarthTechnique card) {
super(card);
}
@Override
public CrackedEarthTechnique copy() {
return new CrackedEarthTechnique(this);
}
}

View file

@ -69,6 +69,7 @@ public final class AvatarTheLastAirbenderEternal extends ExpansionSet {
cards.add(new SetCardInfo("Cloudshift", 152, Rarity.COMMON, mage.cards.c.Cloudshift.class)); cards.add(new SetCardInfo("Cloudshift", 152, Rarity.COMMON, mage.cards.c.Cloudshift.class));
cards.add(new SetCardInfo("Coastal Piracy", 156, Rarity.UNCOMMON, mage.cards.c.CoastalPiracy.class)); cards.add(new SetCardInfo("Coastal Piracy", 156, Rarity.UNCOMMON, mage.cards.c.CoastalPiracy.class));
cards.add(new SetCardInfo("Consider", 157, Rarity.COMMON, mage.cards.c.Consider.class)); cards.add(new SetCardInfo("Consider", 157, Rarity.COMMON, mage.cards.c.Consider.class));
cards.add(new SetCardInfo("Cracked Earth Technique", 135, Rarity.UNCOMMON, mage.cards.c.CrackedEarthTechnique.class));
cards.add(new SetCardInfo("Cruel Tutor", 24, Rarity.MYTHIC, mage.cards.c.CruelTutor.class)); cards.add(new SetCardInfo("Cruel Tutor", 24, Rarity.MYTHIC, mage.cards.c.CruelTutor.class));
cards.add(new SetCardInfo("Dark Deal", 161, Rarity.UNCOMMON, mage.cards.d.DarkDeal.class)); cards.add(new SetCardInfo("Dark Deal", 161, Rarity.UNCOMMON, mage.cards.d.DarkDeal.class));
cards.add(new SetCardInfo("Dark Depths", 56, Rarity.MYTHIC, mage.cards.d.DarkDepths.class)); cards.add(new SetCardInfo("Dark Depths", 56, Rarity.MYTHIC, mage.cards.d.DarkDepths.class));