mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
* Into the Core - Fixed that only the first target was exiled.
This commit is contained in:
parent
8f086c8c7e
commit
e9dbfba746
1 changed files with 9 additions and 14 deletions
|
@ -28,12 +28,12 @@
|
||||||
package mage.sets.mirrodinbesieged;
|
package mage.sets.mirrodinbesieged;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.constants.CardType;
|
import mage.abilities.effects.Effect;
|
||||||
import mage.constants.Rarity;
|
|
||||||
import mage.abilities.effects.common.ExileTargetEffect;
|
import mage.abilities.effects.common.ExileTargetEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.filter.FilterPermanent;
|
import mage.constants.CardType;
|
||||||
import mage.filter.predicate.mageobject.CardTypePredicate;
|
import mage.constants.Rarity;
|
||||||
|
import mage.filter.common.FilterArtifactPermanent;
|
||||||
import mage.target.TargetPermanent;
|
import mage.target.TargetPermanent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -42,20 +42,15 @@ import mage.target.TargetPermanent;
|
||||||
*/
|
*/
|
||||||
public class IntoTheCore extends CardImpl {
|
public class IntoTheCore extends CardImpl {
|
||||||
|
|
||||||
private static final FilterPermanent filter = new FilterPermanent("artifact");
|
|
||||||
|
|
||||||
static {
|
|
||||||
filter.add(new CardTypePredicate(CardType.ARTIFACT));
|
|
||||||
}
|
|
||||||
|
|
||||||
public IntoTheCore(UUID ownerId) {
|
public IntoTheCore(UUID ownerId) {
|
||||||
super(ownerId, 67, "Into the Core", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{2}{R}{R}");
|
super(ownerId, 67, "Into the Core", Rarity.UNCOMMON, new CardType[]{CardType.INSTANT}, "{2}{R}{R}");
|
||||||
this.expansionSetCode = "MBS";
|
this.expansionSetCode = "MBS";
|
||||||
|
|
||||||
|
// Exile two target artifacts.
|
||||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
this.getSpellAbility().addTarget(new TargetPermanent(2, 2, new FilterArtifactPermanent("artifacts"), false));
|
||||||
this.getSpellAbility().addTarget(new TargetPermanent(filter));
|
Effect effect = new ExileTargetEffect();
|
||||||
this.getSpellAbility().addEffect(new ExileTargetEffect());
|
effect.setText("Exile two target artifacts");
|
||||||
|
this.getSpellAbility().addEffect(effect);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IntoTheCore(final IntoTheCore card) {
|
public IntoTheCore(final IntoTheCore card) {
|
||||||
|
|
Loading…
Reference in a new issue