[LTR] Implement Grond, the Gatebreaker

This commit is contained in:
theelk801 2023-06-01 08:08:25 -04:00
parent 7a2858a75b
commit 0073389511
3 changed files with 63 additions and 0 deletions

View file

@ -0,0 +1,61 @@
package mage.cards.g;
import mage.MageInt;
import mage.abilities.common.SimpleStaticAbility;
import mage.abilities.condition.CompoundCondition;
import mage.abilities.condition.Condition;
import mage.abilities.condition.common.MyTurnCondition;
import mage.abilities.condition.common.PermanentsOnTheBattlefieldCondition;
import mage.abilities.decorator.ConditionalContinuousEffect;
import mage.abilities.effects.common.continuous.AddCardTypeSourceEffect;
import mage.abilities.keyword.CrewAbility;
import mage.abilities.keyword.TrampleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import mage.constants.SuperType;
import mage.filter.common.FilterControlledPermanent;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class GrondTheGatebreaker extends CardImpl {
private static final Condition condition = new CompoundCondition(
MyTurnCondition.instance, new PermanentsOnTheBattlefieldCondition(new FilterControlledPermanent(SubType.ARMY))
);
public GrondTheGatebreaker(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.ARTIFACT}, "{3}{B}");
this.supertype.add(SuperType.LEGENDARY);
this.subtype.add(SubType.VEHICLE);
this.power = new MageInt(5);
this.toughness = new MageInt(5);
// Trample
this.addAbility(TrampleAbility.getInstance());
// As long as it's your turn and you control an Army, Grond, the Gatebreaker is an artifact creature.
this.addAbility(new SimpleStaticAbility(new ConditionalContinuousEffect(
new AddCardTypeSourceEffect(Duration.WhileOnBattlefield, CardType.ARTIFACT, CardType.CREATURE),
condition, "as long as it's your turn and you control an Army, {this} is an artifact creature"
)));
// Crew 3
this.addAbility(new CrewAbility(3));
}
private GrondTheGatebreaker(final GrondTheGatebreaker card) {
super(card);
}
@Override
public GrondTheGatebreaker copy() {
return new GrondTheGatebreaker(this);
}
}

View file

@ -42,6 +42,7 @@ public final class TheLordOfTheRingsTalesOfMiddleEarth extends ExpansionSet {
cards.add(new SetCardInfo("Goblin Assailant", 295, Rarity.COMMON, mage.cards.g.GoblinAssailant.class));
cards.add(new SetCardInfo("Gollum, Patient Plotter", 84, Rarity.UNCOMMON, mage.cards.g.GollumPatientPlotter.class));
cards.add(new SetCardInfo("Gothmog, Morgul Lieutenant", 87, Rarity.UNCOMMON, mage.cards.g.GothmogMorgulLieutenant.class));
cards.add(new SetCardInfo("Grond, the Gatebreaker", 89, Rarity.UNCOMMON, mage.cards.g.GrondTheGatebreaker.class));
cards.add(new SetCardInfo("Island", 264, Rarity.LAND, mage.cards.basiclands.Island.class, NON_FULL_USE_VARIOUS));
cards.add(new SetCardInfo("Knight of the Keep", 291, Rarity.COMMON, mage.cards.k.KnightOfTheKeep.class));
cards.add(new SetCardInfo("Knights of Dol Amroth", 59, Rarity.COMMON, mage.cards.k.KnightsOfDolAmroth.class));

View file

@ -48848,6 +48848,7 @@ Easterling Vanguard|The Lord of the Rings: Tales of Middle-earth|83|C|{1}{B}|Cre
Gollum, Patient Plotter|The Lord of the Rings: Tales of Middle-earth|84|U|{1}{B}|Legendary Creature - Halfling Horror|3|1|When Gollum, Patient Plotter leaves the battlefield, the Ring tempts you.${B}, Sacrifice a creature: Return Gollum from your graveyard to your hand. Activate only as a sorcery.|
Gollum's Bite|The Lord of the Rings: Tales of Middle-earth|85|U|{B}|Instant|||Target creature gets -2/-2 until end of turn.${3}{B}, Exile Gollum's Bite from your graveyard: The Ring tempts you. Activate only as a sorcery.|
Gothmog, Morgul Lieutenant|The Lord of the Rings: Tales of Middle-earth|87|U|{3}{B}|Legendary Creature - Human Soldier|3|3|When Gothmog, Morgul Lieutenant enters the battlefield, amass Orcs 1.$Creature tokens you control have deathtouch.|
Grond, the Gatebreaker|The Lord of the Rings: Tales of Middle-earth|89|U|{3}{B}|Legendary Artifact - Vehicle|5|5|Trample$As long as it's your turn and you control an Army, Grond, the Gatebreaker is an artifact creature.$Crew 3|
Lobelia Sackville-Baggins|The Lord of the Rings: Tales of Middle-earth|93|R|{2}{B}|Legendary Creature - Halfling Citizen|2|3|Flash$Menace$When Lobelia Sackville-Baggins enters the battlefield, exile target creature card from an opponent's graveyard that was put there from the battlefield this turn, then create X Treasure tokens, where X is the exiled card's power.|
Mirkwood Bats|The Lord of the Rings: Tales of Middle-earth|95|C|{3}{B}|Creature - Bat|2|3|Flying$Whenever you create or sacrifice a token, each opponent loses 1 life.|
Mordor Trebuchet|The Lord of the Rings: Tales of Middle-earth|97|C|{2}{B}|Artifact Creature - Wall|1|4|Defender$Whenever you attack with one or more Goblins and/or Orcs, create a 2/1 colorless Construct artifact creature token with flying named Ballistic Boulder that's tapped and attacking. Sacrifice that token at end of combat.|