mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
changed Target type
This commit is contained in:
parent
7da7abc867
commit
083d10475a
1 changed files with 5 additions and 3 deletions
|
|
@ -30,10 +30,12 @@ package mage.abilities.costs.common;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import mage.Constants.Outcome;
|
import mage.Constants.Outcome;
|
||||||
|
import mage.Constants.TargetController;
|
||||||
import mage.abilities.costs.CostImpl;
|
import mage.abilities.costs.CostImpl;
|
||||||
import mage.game.Game;
|
import mage.game.Game;
|
||||||
import mage.game.permanent.Permanent;
|
import mage.game.permanent.Permanent;
|
||||||
import mage.target.Target;
|
import mage.target.TargetPermanent;
|
||||||
|
import mage.target.common.TargetSacrificePermanent;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
|
@ -41,9 +43,9 @@ import mage.target.Target;
|
||||||
*/
|
*/
|
||||||
public class SacrificeTargetCost extends CostImpl {
|
public class SacrificeTargetCost extends CostImpl {
|
||||||
|
|
||||||
public Target target;
|
public TargetSacrificePermanent target;
|
||||||
|
|
||||||
public SacrificeTargetCost(Target target) {
|
public SacrificeTargetCost(TargetSacrificePermanent target) {
|
||||||
this.target = target;
|
this.target = target;
|
||||||
this.text = "Sacrifice " + target.getTargetName();
|
this.text = "Sacrifice " + target.getTargetName();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue