mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
* Saddleback Lagac - Fixed that support could target Saddleback Lagac itself.
This commit is contained in:
parent
7b93e95842
commit
17108786e7
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue