- little fixes (Grave Upheaveal, Lazotep Plating)

This commit is contained in:
Jeff 2019-04-22 16:06:22 -05:00
parent 7b7c80c80a
commit 83e6d2fe88
2 changed files with 12 additions and 5 deletions

View file

@ -16,6 +16,7 @@ import mage.constants.CardType;
import mage.constants.Duration; import mage.constants.Duration;
import mage.constants.Outcome; import mage.constants.Outcome;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterCreatureCard;
import mage.game.Game; import mage.game.Game;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
import mage.players.Player; import mage.players.Player;
@ -33,7 +34,7 @@ public final class GraveUpheaval extends CardImpl {
// Put target creature card from a graveyard onto the battlefield under your control. It gains haste. // Put target creature card from a graveyard onto the battlefield under your control. It gains haste.
this.getSpellAbility().addEffect(new GraveUpheavalEffect()); this.getSpellAbility().addEffect(new GraveUpheavalEffect());
this.getSpellAbility().addTarget(new TargetCardInGraveyard()); this.getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard()));
// Basic landcycling {2} // Basic landcycling {2}
this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}"))); this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));

View file

@ -9,6 +9,8 @@ import mage.constants.CardType;
import mage.constants.Duration; import mage.constants.Duration;
import java.util.UUID; import java.util.UUID;
import mage.abilities.effects.Effect;
import mage.abilities.effects.common.continuous.GainAbilityControllerEffect;
/** /**
* @author TheElk801 * @author TheElk801
@ -22,12 +24,16 @@ public final class LazotepPlating extends CardImpl {
this.getSpellAbility().addEffect(new AmassEffect(1)); this.getSpellAbility().addEffect(new AmassEffect(1));
// You and permanents you control gain hexproof until end of turn. // You and permanents you control gain hexproof until end of turn.
this.getSpellAbility().addEffect(new GainAbilityControlledEffect( Effect effect = new GainAbilityControllerEffect(
HexproofAbility.getInstance(), Duration.EndOfTurn HexproofAbility.getInstance(), Duration.EndOfTurn
).setText("<br>You and")); );
this.getSpellAbility().addEffect(new GainAbilityControlledEffect( Effect effect2 = new GainAbilityControlledEffect(
HexproofAbility.getInstance(), Duration.EndOfTurn HexproofAbility.getInstance(), Duration.EndOfTurn
)); );
effect.setText("You and permanents you control gain hexproof until end of turn.");
effect2.setText("");
this.getSpellAbility().addEffect(effect);
this.getSpellAbility().addEffect(effect2);
} }
private LazotepPlating(final LazotepPlating card) { private LazotepPlating(final LazotepPlating card) {