[OTJ] Implement Gila Courser

This commit is contained in:
theelk801 2024-03-29 23:14:58 -04:00
parent c39b6b2231
commit 33127511a4
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,45 @@
package mage.cards.g;
import mage.MageInt;
import mage.abilities.common.AttacksWhileSaddledTriggeredAbility;
import mage.abilities.effects.common.ExileTopXMayPlayUntilEffect;
import mage.abilities.keyword.SaddleAbility;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.constants.SubType;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class GilaCourser extends CardImpl {
public GilaCourser(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{R}");
this.subtype.add(SubType.LIZARD);
this.subtype.add(SubType.MOUNT);
this.power = new MageInt(4);
this.toughness = new MageInt(2);
// Whenever Gila Courser attacks while saddled, exile the top card of your library. Until the end of your next turn, you may play that card.
this.addAbility(new AttacksWhileSaddledTriggeredAbility(
new ExileTopXMayPlayUntilEffect(1, Duration.UntilEndOfYourNextTurn)
));
// Saddle 1
this.addAbility(new SaddleAbility(1));
}
private GilaCourser(final GilaCourser card) {
super(card);
}
@Override
public GilaCourser copy() {
return new GilaCourser(this);
}
}

View file

@ -71,6 +71,7 @@ public final class OutlawsOfThunderJunction extends ExpansionSet {
cards.add(new SetCardInfo("Freestrider Lookout", 163, Rarity.RARE, mage.cards.f.FreestriderLookout.class));
cards.add(new SetCardInfo("Frontier Seeker", 13, Rarity.UNCOMMON, mage.cards.f.FrontierSeeker.class));
cards.add(new SetCardInfo("Ghired, Mirror of the Wilds", 205, Rarity.MYTHIC, mage.cards.g.GhiredMirrorOfTheWilds.class));
cards.add(new SetCardInfo("Gila Courser", 124, Rarity.UNCOMMON, mage.cards.g.GilaCourser.class));
cards.add(new SetCardInfo("Gold Pan", 242, Rarity.COMMON, mage.cards.g.GoldPan.class));
cards.add(new SetCardInfo("Gold Rush", 166, Rarity.UNCOMMON, mage.cards.g.GoldRush.class));
cards.add(new SetCardInfo("Hardbristle Bandit", 168, Rarity.COMMON, mage.cards.h.HardbristleBandit.class));