* Saddleback Lagac - Fixed that support could target Saddleback Lagac itself.

This commit is contained in:
LevelX2 2016-01-15 19:19:58 +01:00
parent 7b93e95842
commit 17108786e7

View file

@ -36,6 +36,7 @@ import mage.cards.CardImpl;
import mage.constants.CardType;
import mage.constants.Rarity;
import mage.filter.common.FilterCreaturePermanent;
import mage.filter.predicate.permanent.AnotherPredicate;
import mage.target.common.TargetCreaturePermanent;
/**
@ -44,6 +45,12 @@ import mage.target.common.TargetCreaturePermanent;
*/
public class SaddlebackLagac extends CardImpl {
private final static FilterCreaturePermanent filter = new FilterCreaturePermanent("target creatures");
static {
filter.add(new AnotherPredicate());
}
public SaddlebackLagac(UUID ownerId) {
super(ownerId, 142, "Saddleback Lagac", Rarity.COMMON, new CardType[]{CardType.CREATURE}, "{3}{G}");
this.expansionSetCode = "OGW";
@ -53,7 +60,7 @@ public class SaddlebackLagac extends CardImpl {
// When Saddleback Lagac enters the battlefield, support 2.
Ability ability = new EntersBattlefieldTriggeredAbility(new SupportEffect(this, 2, true), false);
ability.addTarget(new TargetCreaturePermanent(0, 2, new FilterCreaturePermanent("target creatures"), false));
ability.addTarget(new TargetCreaturePermanent(0, 2, filter, false));
this.addAbility(ability);
}