From 27a8a00917e502005bb72a3f4964bc326229bbf9 Mon Sep 17 00:00:00 2001 From: Susucre <34709007+Susucre@users.noreply.github.com> Date: Mon, 19 Jun 2023 04:38:39 +0200 Subject: [PATCH] [LTC] Implement Riders of Rohan (#10468) --- Mage.Sets/src/mage/cards/r/RidersOfRohan.java | 44 +++++++++++++++++++ .../sets/TalesOfMiddleEarthCommander.java | 1 + 2 files changed, 45 insertions(+) create mode 100644 Mage.Sets/src/mage/cards/r/RidersOfRohan.java diff --git a/Mage.Sets/src/mage/cards/r/RidersOfRohan.java b/Mage.Sets/src/mage/cards/r/RidersOfRohan.java new file mode 100644 index 0000000000..5b18371cf5 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RidersOfRohan.java @@ -0,0 +1,44 @@ +package mage.cards.r; + +import java.util.UUID; +import mage.MageInt; +import mage.abilities.common.EntersBattlefieldTriggeredAbility; +import mage.abilities.effects.common.CreateTokenEffect; +import mage.constants.SubType; +import mage.abilities.keyword.DashAbility; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.game.permanent.token.HumanKnightToken; + +/** + * + * @author Susucr + */ +public final class RidersOfRohan extends CardImpl { + + public RidersOfRohan(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{3}{R}{W}"); + + this.subtype.add(SubType.HUMAN); + this.subtype.add(SubType.KNIGHT); + this.power = new MageInt(4); + this.toughness = new MageInt(4); + + // When Riders of Rohan enters the battlefield, create two 2/2 red Human Knight creature tokens with trample and haste. + this.addAbility(new EntersBattlefieldTriggeredAbility(new CreateTokenEffect(new HumanKnightToken(),2))); + + // Dash {4}{R}{W} + this.addAbility(new DashAbility("{4}{R}{W}")); + + } + + private RidersOfRohan(final RidersOfRohan card) { + super(card); + } + + @Override + public RidersOfRohan copy() { + return new RidersOfRohan(this); + } +} diff --git a/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java b/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java index 631b48f5ec..7478aa3446 100644 --- a/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java +++ b/Mage.Sets/src/mage/sets/TalesOfMiddleEarthCommander.java @@ -172,6 +172,7 @@ public final class TalesOfMiddleEarthCommander extends ExpansionSet { cards.add(new SetCardInfo("Reflecting Pool", 373, Rarity.MYTHIC, mage.cards.r.ReflectingPool.class)); cards.add(new SetCardInfo("Rejuvenating Springs", 325, Rarity.RARE, mage.cards.r.RejuvenatingSprings.class)); cards.add(new SetCardInfo("Revenge of Ravens", 207, Rarity.UNCOMMON, mage.cards.r.RevengeOfRavens.class)); + cards.add(new SetCardInfo("Riders of Rohan", 67, Rarity.RARE, mage.cards.r.RidersOfRohan.class)); cards.add(new SetCardInfo("Rings of Brighthearth", 352, Rarity.MYTHIC, mage.cards.r.RingsOfBrighthearth.class)); cards.add(new SetCardInfo("Rogue's Passage", 326, Rarity.UNCOMMON, mage.cards.r.RoguesPassage.class)); cards.add(new SetCardInfo("Sam, Loyal Attendant", 7, Rarity.MYTHIC, mage.cards.s.SamLoyalAttendant.class));