* Despotic Scepter - Fixed tooltip text.

This commit is contained in:
LevelX2 2016-02-13 20:12:08 +01:00
parent eb3531c8bf
commit 10f9eaf395

View file

@ -47,10 +47,10 @@ import mage.target.TargetPermanent;
*/
public class DespoticScepter extends CardImpl {
private final static FilterPermanent filter = new FilterPermanent();
private final static FilterPermanent FILTER = new FilterPermanent("permanent you own");
static {
filter.add(new OwnerPredicate(TargetController.YOU));
FILTER.add(new OwnerPredicate(TargetController.YOU));
}
public DespoticScepter(UUID ownerId) {
@ -59,7 +59,7 @@ public class DespoticScepter extends CardImpl {
// {tap}: Destroy target permanent you own. It can't be regenerated.
Ability ability = new SimpleActivatedAbility(Zone.BATTLEFIELD, new DestroyTargetEffect(true), new TapSourceCost());
ability.addTarget(new TargetPermanent(filter));
ability.addTarget(new TargetPermanent(FILTER));
this.addAbility(ability);
}