diff --git a/Mage.Sets/src/mage/cards/r/RallyTheRanks.java b/Mage.Sets/src/mage/cards/r/RallyTheRanks.java new file mode 100644 index 00000000000..03212f2cc53 --- /dev/null +++ b/Mage.Sets/src/mage/cards/r/RallyTheRanks.java @@ -0,0 +1,40 @@ +package mage.cards.r; + +import mage.abilities.common.AsEntersBattlefieldAbility; +import mage.abilities.common.SimpleStaticAbility; +import mage.abilities.effects.common.ChooseCreatureTypeEffect; +import mage.abilities.effects.common.continuous.BoostAllOfChosenSubtypeEffect; +import mage.cards.CardImpl; +import mage.cards.CardSetInfo; +import mage.constants.CardType; +import mage.constants.Duration; +import mage.constants.Outcome; + +import java.util.UUID; + +/** + * @author TheElk801 + */ +public final class RallyTheRanks extends CardImpl { + + public RallyTheRanks(UUID ownerId, CardSetInfo setInfo) { + super(ownerId, setInfo, new CardType[]{CardType.ENCHANTMENT}, "{1}{W}"); + + // As Rally the Ranks enters the battlefield, choose a creature type. + this.addAbility(new AsEntersBattlefieldAbility(new ChooseCreatureTypeEffect(Outcome.BoostCreature))); + + // Creatures you control of the chosen type get +1/+1. + this.addAbility(new SimpleStaticAbility(new BoostAllOfChosenSubtypeEffect( + 1, 1, Duration.WhileOnBattlefield, false + ))); + } + + private RallyTheRanks(final RallyTheRanks card) { + super(card); + } + + @Override + public RallyTheRanks copy() { + return new RallyTheRanks(this); + } +} diff --git a/Mage.Sets/src/mage/sets/Kaldheim.java b/Mage.Sets/src/mage/sets/Kaldheim.java index cfa979beb2d..be5383cea40 100644 --- a/Mage.Sets/src/mage/sets/Kaldheim.java +++ b/Mage.Sets/src/mage/sets/Kaldheim.java @@ -108,6 +108,7 @@ public final class Kaldheim extends ExpansionSet { cards.add(new SetCardInfo("Niko Aris", 225, Rarity.MYTHIC, mage.cards.n.NikoAris.class)); cards.add(new SetCardInfo("Path to the World Tree", 186, Rarity.UNCOMMON, mage.cards.p.PathToTheWorldTree.class)); cards.add(new SetCardInfo("Pyre of Heroes", 241, Rarity.RARE, mage.cards.p.PyreOfHeroes.class)); + cards.add(new SetCardInfo("Rally the Ranks", 20, Rarity.RARE, mage.cards.r.RallyTheRanks.class)); cards.add(new SetCardInfo("Rampage of the Valkyries", 393, Rarity.UNCOMMON, mage.cards.r.RampageOfTheValkyries.class)); cards.add(new SetCardInfo("Ravenform", 72, Rarity.COMMON, mage.cards.r.Ravenform.class)); cards.add(new SetCardInfo("Realmwalker", 188, Rarity.RARE, mage.cards.r.Realmwalker.class));