forked from External/mage
[OTJ] Fix a few newly added cards
This commit is contained in:
parent
8f0fc60ca3
commit
36ab5fd209
4 changed files with 7 additions and 8 deletions
|
|
@ -6,7 +6,7 @@ import mage.cards.CardImpl;
|
|||
import mage.cards.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.filter.FilterCard;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
import mage.filter.StaticFilters;
|
||||
import mage.filter.common.FilterPermanentCard;
|
||||
import mage.target.common.TargetCardInYourGraveyard;
|
||||
import mage.target.targetpointer.SecondTargetPointer;
|
||||
|
|
@ -18,8 +18,7 @@ import java.util.UUID;
|
|||
*/
|
||||
public final class BadlandsRevival extends CardImpl {
|
||||
|
||||
private static final FilterCard filter = new FilterCreatureCard("creature card from your graveyard");
|
||||
private static final FilterCard filter2 = new FilterPermanentCard("target permanent card from your graveyard");
|
||||
private static final FilterCard filter = new FilterPermanentCard("permanent card from your graveyard");
|
||||
|
||||
public BadlandsRevival(UUID ownerId, CardSetInfo setInfo) {
|
||||
super(ownerId, setInfo, new CardType[]{CardType.SORCERY}, "{3}{B}{G}");
|
||||
|
|
@ -27,8 +26,8 @@ public final class BadlandsRevival extends CardImpl {
|
|||
// Return up to one target creature card from your graveyard to the battlefield. Return up to one target permanent card from your graveyard to your hand.
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToBattlefieldTargetEffect());
|
||||
this.getSpellAbility().addEffect(new ReturnFromGraveyardToHandTargetEffect().setTargetPointer(new SecondTargetPointer()));
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 1, StaticFilters.FILTER_CARD_CREATURE_YOUR_GRAVEYARD));
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 1, filter));
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(0, 1, filter2));
|
||||
}
|
||||
|
||||
private BadlandsRevival(final BadlandsRevival card) {
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ class NeutralizeTheGuardsEffect extends OneShotEffect {
|
|||
|
||||
NeutralizeTheGuardsEffect() {
|
||||
super(Outcome.Benefit);
|
||||
staticText = "gain control of all creatures target opponent controls";
|
||||
staticText = "creatures target opponent controls get -1/-1 until end of turn";
|
||||
}
|
||||
|
||||
private NeutralizeTheGuardsEffect(final NeutralizeTheGuardsEffect effect) {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ class RailwayBrawlerEffect extends OneShotEffect {
|
|||
return false;
|
||||
}
|
||||
return new AddCountersTargetEffect(CounterType.P1P1.createInstance(pow))
|
||||
.setTargetPointer(getTargetPointer())
|
||||
.setTargetPointer(getTargetPointer().copy())
|
||||
.apply(game, source);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package mage.cards.s;
|
|||
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.effects.OneShotEffect;
|
||||
import mage.abilities.effects.common.ExileSourceEffect;
|
||||
import mage.abilities.effects.common.ExileSpellEffect;
|
||||
import mage.abilities.keyword.PlotAbility;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.cards.CardSetInfo;
|
||||
|
|
@ -27,7 +27,7 @@ public final class StepBetweenWorlds extends CardImpl {
|
|||
|
||||
// Each player may shuffle their hand and graveyard into their library. Each player who does draws seven cards. Exile Step Between Worlds.
|
||||
this.getSpellAbility().addEffect(new StepBetweenWorldsEffect());
|
||||
this.getSpellAbility().addEffect(new ExileSourceEffect());
|
||||
this.getSpellAbility().addEffect(new ExileSpellEffect());
|
||||
|
||||
// Plot {4}{U}{U}
|
||||
this.addAbility(new PlotAbility("{4}{U}{U}"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue