Implemented Rally to Battle

This commit is contained in:
Evan Kranzler 2019-01-11 21:56:04 -05:00
parent b76f7d0bd1
commit 39dc52a7bf
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,39 @@
package mage.cards.r;
import mage.abilities.effects.common.UntapAllControllerEffect;
import mage.abilities.effects.common.continuous.BoostControlledEffect;
import mage.cards.CardImpl;
import mage.cards.CardSetInfo;
import mage.constants.CardType;
import mage.constants.Duration;
import mage.filter.StaticFilters;
import java.util.UUID;
/**
* @author TheElk801
*/
public final class RallyToBattle extends CardImpl {
public RallyToBattle(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.INSTANT}, "{3}{W}");
// Creatures you control get +1/+3 until end of turn. Untap them.
this.getSpellAbility().addEffect(
new BoostControlledEffect(1, 3, Duration.EndOfTurn)
);
this.getSpellAbility().addEffect(new UntapAllControllerEffect(
StaticFilters.FILTER_PERMANENT_CREATURE
).setText("Untap them"));
}
private RallyToBattle(final RallyToBattle card) {
super(card);
}
@Override
public RallyToBattle copy() {
return new RallyToBattle(this);
}
}

View file

@ -204,6 +204,7 @@ public final class RavnicaAllegiance extends ExpansionSet {
cards.add(new SetCardInfo("Rakdos Roustabout", 198, Rarity.COMMON, mage.cards.r.RakdosRoustabout.class));
cards.add(new SetCardInfo("Rakdos Trumpeter", 84, Rarity.COMMON, mage.cards.r.RakdosTrumpeter.class));
cards.add(new SetCardInfo("Rakdos, the Showstopper", 199, Rarity.MYTHIC, mage.cards.r.RakdosTheShowstopper.class));
cards.add(new SetCardInfo("Rally to Battle", 18, Rarity.UNCOMMON, mage.cards.r.RallyToBattle.class));
cards.add(new SetCardInfo("Rampage of the Clans", 134, Rarity.RARE, mage.cards.r.RampageOfTheClans.class));
cards.add(new SetCardInfo("Rampaging Rendhorn", 135, Rarity.COMMON, mage.cards.r.RampagingRendhorn.class));
cards.add(new SetCardInfo("Ravager Wurm", 200, Rarity.MYTHIC, mage.cards.r.RavagerWurm.class));