* Teferi, Temporal Archmage - fixed that the untap ability could only target creatures instead of permanents (fixes #628).

This commit is contained in:
LevelX2 2014-11-30 23:59:51 +01:00
parent f33702c6a9
commit d066e7ebf1

View file

@ -48,11 +48,11 @@ import mage.constants.Rarity;
import mage.constants.Zone; import mage.constants.Zone;
import mage.counters.CounterType; import mage.counters.CounterType;
import mage.filter.FilterCard; import mage.filter.FilterCard;
import mage.filter.common.FilterCreaturePermanent; import mage.filter.FilterPermanent;
import mage.game.Game; import mage.game.Game;
import mage.game.command.Emblem; import mage.game.command.Emblem;
import mage.game.permanent.Permanent; import mage.game.permanent.Permanent;
import mage.target.common.TargetCreaturePermanent; import mage.target.TargetPermanent;
/** /**
* *
@ -75,7 +75,7 @@ public class TeferiTemporalArchmage extends CardImpl {
// -1: Untap up to four target permanents. // -1: Untap up to four target permanents.
LoyaltyAbility loyaltyAbility = new LoyaltyAbility(new UntapTargetEffect(), -1); LoyaltyAbility loyaltyAbility = new LoyaltyAbility(new UntapTargetEffect(), -1);
loyaltyAbility.addTarget(new TargetCreaturePermanent(0,4, new FilterCreaturePermanent(), false)); loyaltyAbility.addTarget(new TargetPermanent(0,4, new FilterPermanent(), false));
this.addAbility(loyaltyAbility); this.addAbility(loyaltyAbility);
// -10: You get an emblem with "You may activate loyalty abilities of planeswalkers you control on any player's turn any time you could cast an instant." // -10: You get an emblem with "You may activate loyalty abilities of planeswalkers you control on any player's turn any time you could cast an instant."