[TLA] Implement Badgermole Cub

This commit is contained in:
theelk801 2025-10-29 15:29:40 -04:00
parent 9c799b432d
commit 459fe81ee4
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,53 @@
package mage.cards.b;
import mage.MageInt;
import mage.Mana;
import mage.abilities.Ability;
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
import mage.abilities.common.TapForManaAllTriggeredManaAbility;
import mage.abilities.effects.keyword.EarthbendTargetEffect;
import mage.abilities.effects.mana.BasicManaEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.SetTargetPointer;
import mage.constants.SubType;
import mage.filter.StaticFilters;
import mage.target.common.TargetControlledLandPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class BadgermoleCub extends CardImpl {
public BadgermoleCub(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{1}{G}");
this.subtype.add(SubType.BADGER);
this.subtype.add(SubType.MOLE);
this.power = new MageInt(2);
this.toughness = new MageInt(2);
// When this creature enters, earthbend 1.
Ability ability = new EntersBattlefieldTriggeredAbility(new EarthbendTargetEffect(1));
ability.addTarget(new TargetControlledLandPermanent());
this.addAbility(ability);
// Whenever you tap a creature for mana, add an additional {G}.
this.addAbility(new TapForManaAllTriggeredManaAbility(
new BasicManaEffect(Mana.GreenMana(1)).setText("add an additional {G}"),
StaticFilters.FILTER_CONTROLLED_CREATURE, SetTargetPointer.NONE
).setTriggerPhrase("Whenever you tap a creature for mana, "));
}
private BadgermoleCub(final BadgermoleCub card) {
super(card);
}
@Override
public BadgermoleCub copy() {
return new BadgermoleCub(this);
}
}

View file

@ -43,6 +43,8 @@ public final class AvatarTheLastAirbender extends ExpansionSet {
cards.add(new SetCardInfo("Azula Always Lies", 84, Rarity.COMMON, mage.cards.a.AzulaAlwaysLies.class));
cards.add(new SetCardInfo("Azula, On the Hunt", 85, Rarity.UNCOMMON, mage.cards.a.AzulaOnTheHunt.class));
cards.add(new SetCardInfo("Badgermole", 166, Rarity.COMMON, mage.cards.b.Badgermole.class));
cards.add(new SetCardInfo("Badgermole Cub", 167, Rarity.MYTHIC, mage.cards.b.BadgermoleCub.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Badgermole Cub", 326, Rarity.MYTHIC, mage.cards.b.BadgermoleCub.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Barrels of Blasting Jelly", 254, Rarity.COMMON, mage.cards.b.BarrelsOfBlastingJelly.class));
cards.add(new SetCardInfo("Beetle-Headed Merchants", 86, Rarity.COMMON, mage.cards.b.BeetleHeadedMerchants.class));
cards.add(new SetCardInfo("Bender's Waterskin", 255, Rarity.COMMON, mage.cards.b.BendersWaterskin.class));