diff --git a/Mage.Sets/src/mage/sets/alarareborn/VengefulRebirth.java b/Mage.Sets/src/mage/sets/alarareborn/VengefulRebirth.java index f29c613566..9ffaa20987 100644 --- a/Mage.Sets/src/mage/sets/alarareborn/VengefulRebirth.java +++ b/Mage.Sets/src/mage/sets/alarareborn/VengefulRebirth.java @@ -41,6 +41,7 @@ import mage.cards.CardImpl; import mage.game.Game; import mage.game.permanent.Permanent; import mage.players.Player; +import mage.target.Target; import mage.target.common.TargetCardInYourGraveyard; import mage.target.common.TargetCreatureOrPlayer; @@ -56,10 +57,12 @@ public class VengefulRebirth extends CardImpl { this.color.setRed(true); this.color.setGreen(true); // Return target card from your graveyard to your hand. If you return a nonland card to your hand this way, {this} deals damage equal to that card's converted mana cost to target creature or player - this.getSpellAbility().addTarget(new TargetCardInYourGraveyard()); - this.getSpellAbility().addTarget(new TargetCreatureOrPlayer()); + Target target = new TargetCardInYourGraveyard(); + target.setRequired(true); + this.getSpellAbility().addTarget(target); + this.getSpellAbility().addTarget(new TargetCreatureOrPlayer(true)); this.getSpellAbility().addEffect(new VengefulRebirthEffect()); - + // Exile Vengeful Rebirth. this.getSpellAbility().addEffect(ExileSpellEffect.getInstance()); } diff --git a/Mage.Sets/src/mage/sets/returntoravnica/DetentionSphere.java b/Mage.Sets/src/mage/sets/returntoravnica/DetentionSphere.java index fae51254c0..89a21f4187 100644 --- a/Mage.Sets/src/mage/sets/returntoravnica/DetentionSphere.java +++ b/Mage.Sets/src/mage/sets/returntoravnica/DetentionSphere.java @@ -46,6 +46,7 @@ import mage.filter.predicate.mageobject.NamePredicate; import mage.game.ExileZone; import mage.game.Game; import mage.game.permanent.Permanent; +import mage.players.Player; import mage.target.TargetPermanent; @@ -72,7 +73,7 @@ public class DetentionSphere extends CardImpl { // target nonland permanent not named Detention Sphere and all // other permanents with the same name as that permanent. Ability ability = new EntersBattlefieldTriggeredAbility(new DetentionSphereEntersEffect(), true); - ability.addTarget(new TargetPermanent(filter)); + ability.addTarget(new TargetPermanent(filter, true)); this.addAbility(ability); @@ -107,11 +108,12 @@ class DetentionSphereEntersEffect extends OneShotEffect