mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
- little fixes (Grave Upheaveal, Lazotep Plating)
This commit is contained in:
parent
7b7c80c80a
commit
83e6d2fe88
2 changed files with 12 additions and 5 deletions
|
@ -16,6 +16,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.Duration;
|
||||
import mage.constants.Outcome;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
import mage.game.Game;
|
||||
import mage.game.permanent.Permanent;
|
||||
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.
|
||||
this.getSpellAbility().addEffect(new GraveUpheavalEffect());
|
||||
this.getSpellAbility().addTarget(new TargetCardInGraveyard());
|
||||
this.getSpellAbility().addTarget(new TargetCardInGraveyard(new FilterCreatureCard()));
|
||||
|
||||
// Basic landcycling {2}
|
||||
this.addAbility(new BasicLandcyclingAbility(new ManaCostsImpl("{2}")));
|
||||
|
|
|
@ -9,6 +9,8 @@ import mage.constants.CardType;
|
|||
import mage.constants.Duration;
|
||||
|
||||
import java.util.UUID;
|
||||
import mage.abilities.effects.Effect;
|
||||
import mage.abilities.effects.common.continuous.GainAbilityControllerEffect;
|
||||
|
||||
/**
|
||||
* @author TheElk801
|
||||
|
@ -22,12 +24,16 @@ public final class LazotepPlating extends CardImpl {
|
|||
this.getSpellAbility().addEffect(new AmassEffect(1));
|
||||
|
||||
// You and permanents you control gain hexproof until end of turn.
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(
|
||||
Effect effect = new GainAbilityControllerEffect(
|
||||
HexproofAbility.getInstance(), Duration.EndOfTurn
|
||||
).setText("<br>You and"));
|
||||
this.getSpellAbility().addEffect(new GainAbilityControlledEffect(
|
||||
);
|
||||
Effect effect2 = new GainAbilityControlledEffect(
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue