mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
fixed Etchings of the Chosen not allowing a target to be chosen
This commit is contained in:
parent
1895a33966
commit
55ee8a7b70
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ import mage.filter.common.FilterControlledPermanent;
|
||||||
import mage.filter.common.FilterCreaturePermanent;
|
import mage.filter.common.FilterCreaturePermanent;
|
||||||
import mage.filter.predicate.mageobject.ChosenSubtypePredicate;
|
import mage.filter.predicate.mageobject.ChosenSubtypePredicate;
|
||||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||||
|
import mage.target.common.TargetControlledCreaturePermanent;
|
||||||
import mage.target.common.TargetControlledPermanent;
|
import mage.target.common.TargetControlledPermanent;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -57,6 +58,7 @@ public final class EtchingsOfTheChosen extends CardImpl {
|
||||||
IndestructibleAbility.getInstance(), Duration.EndOfTurn
|
IndestructibleAbility.getInstance(), Duration.EndOfTurn
|
||||||
), new GenericManaCost(1));
|
), new GenericManaCost(1));
|
||||||
ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(filter2)));
|
ability.addCost(new SacrificeTargetCost(new TargetControlledPermanent(filter2)));
|
||||||
|
ability.addTarget(new TargetControlledCreaturePermanent());
|
||||||
this.addAbility(ability);
|
this.addAbility(ability);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue