[TMT] Implement Groundchuck & Dirtbag (#14278)

This commit is contained in:
Muz 2026-01-17 13:09:53 -06:00 committed by GitHub
parent fecf121e35
commit f24af53a9e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 88 additions and 0 deletions

View file

@ -0,0 +1,86 @@
package mage.cards.g;
import java.util.UUID;
import mage.MageInt;
import mage.Mana;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.constants.Zone;
import mage.game.Game;
import mage.game.events.GameEvent;
import mage.game.events.TappedForManaEvent;
import mage.game.permanent.Permanent;
import mage.abilities.effects.mana.BasicManaEffect;
import mage.abilities.keyword.TrampleAbility;
import mage.abilities.mana.TriggeredManaAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
/**
*
* @author muz
*/
public final class GroundchuckAndDirtbag extends CardImpl {
public GroundchuckAndDirtbag(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{4}{G}{G}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.OX);
this.subtype.add(SubType.MOLE);
this.subtype.add(SubType.MUTANT);
this.power = new MageInt(8);
this.toughness = new MageInt(8);
// Trample
this.addAbility(TrampleAbility.getInstance());
// Whenever you tap a land for mana, add {G}.
this.addAbility(new GroundchuckAndDirtbagTriggeredAbility());
}
private GroundchuckAndDirtbag(final GroundchuckAndDirtbag card) {
super(card);
}
@Override
public GroundchuckAndDirtbag copy() {
return new GroundchuckAndDirtbag(this);
}
}
class GroundchuckAndDirtbagTriggeredAbility extends TriggeredManaAbility {
GroundchuckAndDirtbagTriggeredAbility() {
super(Zone.BATTLEFIELD, new BasicManaEffect(Mana.GreenMana(1)), false);
}
private GroundchuckAndDirtbagTriggeredAbility(final GroundchuckAndDirtbagTriggeredAbility ability) {
super(ability);
}
@Override
public boolean checkEventType(GameEvent event, Game game) {
return event.getType() == GameEvent.EventType.TAPPED_FOR_MANA;
}
@Override
public boolean checkTrigger(GameEvent event, Game game) {
if (!isControlledBy(event.getPlayerId())) {
return false;
}
Permanent permanent = ((TappedForManaEvent) event).getPermanent();
return permanent != null && permanent.isLand(game);
}
@Override
public GroundchuckAndDirtbagTriggeredAbility copy() {
return new GroundchuckAndDirtbagTriggeredAbility(this);
}
@Override
public String getRule() {
return "Whenever you tap a land for mana, add {G}.";
}
}

View file

@ -26,6 +26,7 @@ public final class TeenageMutantNinjaTurtles extends ExpansionSet {
cards.add(new SetCardInfo("Casey Jones, Jury-Rig Justiciar", 87, Rarity.UNCOMMON, mage.cards.c.CaseyJonesJuryRigJusticiar.class));
cards.add(new SetCardInfo("Forest", 257, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Forest", 314, Rarity.LAND, mage.cards.basiclands.Forest.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Groundchuck & Dirtbag", 115, Rarity.RARE, mage.cards.g.GroundchuckAndDirtbag.class));
cards.add(new SetCardInfo("Island", 254, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Island", 311, Rarity.LAND, mage.cards.basiclands.Island.class, FULL_ART_BFZ_VARIOUS));
cards.add(new SetCardInfo("Krang, Master Mind", 43, Rarity.RARE, mage.cards.k.KrangMasterMind.class));

View file

@ -61322,6 +61322,7 @@ Super Shredder|Teenage Mutant Ninja Turtles|83|M|{1}{B}|Legendary Creature - Mut
Broadcast Takeover|Teenage Mutant Ninja Turtles|86|M|{2}{R}{R}{R}|Sorcery|||Gain control of all artifacts your opponents control until end of turn. Untap them. They gain haste until end of turn.|
Casey Jones, Jury-Rig Justiciar|Teenage Mutant Ninja Turtles|87|U|{1}{R}|Legendary Creature Human Berserker|2|1|Haste$When Casey Jones enters, look at the top four cards of your library. You may reveal an artifact card from among them and put it into your hand. Put the rest on the bottom of your library in a random order.|
Raphael's Technique|Teenage Mutant Ninja Turtles|105|R|{4}{R}{R}|Instant|||Sneak {2}{R}$Each player may discard their hand and draw seven cards.|
Groundchuck & Dirtbag|Teenage Mutant Ninja Turtles|115|R|{4}{G}{G}|Legendary Creature - Ox Mole Mutant|8|8|Trample$Whenever you tap a land for mana, add {G}.|
Transdimensional Bovine|Teenage Mutant Ninja Turtles|134|R|{2}{G}|Creature - Ox Avatar|0|4|Flying${T}: Add two mana of any one color.|
Bebop & Rocksteady|Teenage Mutant Ninja Turtles|140|R|{1}{B/G}{B/G}|Legendary Creature - Boar Rhino Mutant|7|5|Whenever Bebop & Rocksteady attack or block, sacrifice a permanent unless you discard a card.|
North Wind Avatar|Teenage Mutant Ninja Turtles|162|M|{2}{U}{U}{R}|Creature - Dragon Spirit Avatar|5|5|Flying$When this creature enters, if you cast it, you may put a card you own from outside the game into your hand.|