mirror of
https://github.com/magefree/mage.git
synced 2026-01-25 20:59:14 -08:00
* Minor fixes to Morph tootip generation. Minor changes to other framwork classes.
This commit is contained in:
parent
96fd7e1d85
commit
2aeb61b2e6
6 changed files with 40 additions and 31 deletions
|
|
@ -28,15 +28,14 @@
|
|||
package mage.sets.exodus;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.ActivateAsSorceryActivatedAbility;
|
||||
import mage.abilities.costs.common.ReturnToHandSourceCost;
|
||||
import mage.abilities.costs.common.SacrificeTargetCost;
|
||||
import mage.abilities.effects.common.ReturnFromGraveyardToBattlefieldTargetEffect;
|
||||
import mage.cards.CardImpl;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.Rarity;
|
||||
import mage.constants.Zone;
|
||||
import mage.filter.common.FilterControlledPermanent;
|
||||
import mage.filter.common.FilterCreatureCard;
|
||||
|
|
@ -50,7 +49,7 @@ import mage.target.common.TargetControlledPermanent;
|
|||
public class RecurringNightmare extends CardImpl {
|
||||
|
||||
private static final FilterCreatureCard filter = new FilterCreatureCard("creature card in your graveyard");
|
||||
private static final FilterControlledPermanent filter2 = new FilterControlledPermanent("creature to sacrifice");
|
||||
private static final FilterControlledPermanent filter2 = new FilterControlledPermanent("creature");
|
||||
|
||||
public RecurringNightmare(UUID ownerId) {
|
||||
super(ownerId, 72, "Recurring Nightmare", Rarity.RARE, new CardType[]{CardType.ENCHANTMENT}, "{2}{B}");
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public class Restock extends CardImpl {
|
|||
Effect effect = new ReturnFromGraveyardToHandTargetEffect();
|
||||
effect.setText("Return two target cards from your graveyard to your hand");
|
||||
this.getSpellAbility().addEffect(effect);
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(2,2, new FilterCard("")));
|
||||
this.getSpellAbility().addTarget(new TargetCardInYourGraveyard(2, new FilterCard("card from your graveyard")));
|
||||
this.getSpellAbility().addEffect(ExileSpellEffect.getInstance());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue