added target selection hints to Kathril, Aspect Warper

This commit is contained in:
Evan Kranzler 2020-04-30 08:24:12 -04:00
parent 1996168c1a
commit 73f4579063

View file

@ -14,11 +14,13 @@ import mage.constants.SubType;
import mage.constants.SuperType;
import mage.counters.CounterType;
import mage.filter.StaticFilters;
import mage.filter.common.FilterControlledCreaturePermanent;
import mage.filter.common.FilterControlledPermanent;
import mage.game.Game;
import mage.game.permanent.Permanent;
import mage.players.Player;
import mage.target.Target;
import mage.target.common.TargetControlledCreaturePermanent;
import mage.target.common.TargetControlledPermanent;
import java.util.Collection;
import java.util.Set;
@ -55,10 +57,6 @@ public final class KathrilAspectWarper extends CardImpl {
class KathrilAspectWarperEffect extends OneShotEffect {
private static class AbilityTracker {
}
KathrilAspectWarperEffect() {
super(Outcome.Benefit);
staticText = "put a flying counter on any creature you control if a creature card in your graveyard has flying. " +
@ -100,7 +98,9 @@ class KathrilAspectWarperEffect extends OneShotEffect {
if (counterType == null) {
continue;
}
Target target = new TargetControlledCreaturePermanent();
FilterControlledPermanent filter
= new FilterControlledCreaturePermanent("creature to give a " + counterType + " counter");
Target target = new TargetControlledPermanent(filter);
target.setNotTarget(true);
if (!player.choose(outcome, target, source.getSourceId(), game)) {
continue;