* Unstable Frontier - Fixed that also a not controlled land could be selected as target land.

This commit is contained in:
LevelX2 2015-07-20 17:00:54 +02:00
parent df0edb07b7
commit 0c490c619a

View file

@ -38,8 +38,9 @@ import mage.constants.CardType;
import mage.constants.Duration; import mage.constants.Duration;
import mage.constants.Rarity; import mage.constants.Rarity;
import mage.constants.Zone; import mage.constants.Zone;
import mage.filter.common.FilterControlledLandPermanent;
import mage.target.Target; import mage.target.Target;
import mage.target.common.TargetLandPermanent; import mage.target.common.TargetControlledPermanent;
/** /**
* *
@ -55,7 +56,7 @@ public class UnstableFrontier extends CardImpl {
this.addAbility(new ColorlessManaAbility()); this.addAbility(new ColorlessManaAbility());
// {tap}: Target land you control becomes the basic land type of your choice until end of turn. // {tap}: Target land you control becomes the basic land type of your choice until end of turn.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesBasicLandTargetEffect(Duration.EndOfTurn), new TapSourceCost()); Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new BecomesBasicLandTargetEffect(Duration.EndOfTurn), new TapSourceCost());
Target target = new TargetLandPermanent(); Target target = new TargetControlledPermanent(new FilterControlledLandPermanent());
ability.addTarget(target); ability.addTarget(target);
this.addAbility(ability); this.addAbility(ability);
} }