forked from External/mage
Improved text generation for TargetCardInASingleGraveyard (additional to #6557)
This commit is contained in:
parent
520937e68a
commit
05950dcc2f
18 changed files with 88 additions and 157 deletions
|
|
@ -1,8 +1,5 @@
|
|||
package mage.abilities.effects.common;
|
||||
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.Mode;
|
||||
|
|
@ -20,13 +17,16 @@ import mage.target.targetpointer.FirstTargetPointer;
|
|||
import mage.target.targetpointer.SecondTargetPointer;
|
||||
import mage.util.CardUtil;
|
||||
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
*/
|
||||
public class ExileTargetEffect extends OneShotEffect {
|
||||
|
||||
private Zone onlyFromZone;
|
||||
private final Zone onlyFromZone;
|
||||
private String exileZone = null;
|
||||
private UUID exileId = null;
|
||||
protected boolean multitargetHandling;
|
||||
|
|
@ -42,6 +42,9 @@ public class ExileTargetEffect extends OneShotEffect {
|
|||
this.multitargetHandling = multitargetHandling;
|
||||
}
|
||||
|
||||
/**
|
||||
* Exile cards to normal exile window (but it can exile to source's exile window after toSourceExileZone change)
|
||||
*/
|
||||
public ExileTargetEffect() {
|
||||
this(null, "");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,10 @@ import java.util.UUID;
|
|||
*/
|
||||
public class ExileTargetForSourceEffect extends OneShotEffect {
|
||||
|
||||
/**
|
||||
* Exile cards to source's exile window (e.g. if it have another effect like return from exile later)
|
||||
* TODO: delete that effect and replace it by ExileTargetEffect (it have special param for same purpose)
|
||||
*/
|
||||
public ExileTargetForSourceEffect() {
|
||||
super(Outcome.Exile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue