mirror of
https://github.com/magefree/mage.git
synced 2026-01-26 21:29:17 -08:00
game: fixed wrong target settings in multiple cards
This commit is contained in:
parent
e76066e939
commit
a52d25bc39
4 changed files with 4 additions and 5 deletions
|
|
@ -52,7 +52,7 @@ public final class BarrowinOfClanUndurr extends CardImpl {
|
|||
CompletedDungeonCondition.instance, "return up to one creature card " +
|
||||
"with mana value 3 or less from your graveyard to the battlefield if you've completed a dungeon"
|
||||
));
|
||||
ability.addTarget(new TargetCardInYourGraveyard(0, 1, filter));
|
||||
ability.addTarget(new TargetCardInYourGraveyard(0, 1, filter, true));
|
||||
this.addAbility(ability.addHint(CompletedDungeonCondition.getHint()), new CompletedDungeonWatcher());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class KeeperOfTheLensLookFaceDownAbility extends ActivatedAbilityImpl {
|
|||
public KeeperOfTheLensLookFaceDownAbility() {
|
||||
super(Zone.BATTLEFIELD, new KeeperOfTheLensLookFaceDownEffect(), new GenericManaCost(0));
|
||||
this.usesStack = false;
|
||||
this.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addTarget(new TargetCreaturePermanent(filter).withNotTarget(true));
|
||||
}
|
||||
|
||||
private KeeperOfTheLensLookFaceDownAbility(final KeeperOfTheLensLookFaceDownAbility ability) {
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ class LensOfClarityLookFaceDownAbility extends ActivatedAbilityImpl {
|
|||
public LensOfClarityLookFaceDownAbility() {
|
||||
super(Zone.BATTLEFIELD, new LensOfClarityLookFaceDownEffect(), new GenericManaCost(0));
|
||||
this.usesStack = false;
|
||||
this.addTarget(new TargetCreaturePermanent(filter));
|
||||
this.addTarget(new TargetCreaturePermanent(filter).withNotTarget(true));
|
||||
}
|
||||
|
||||
private LensOfClarityLookFaceDownAbility(final LensOfClarityLookFaceDownAbility ability) {
|
||||
|
|
|
|||
|
|
@ -35,8 +35,7 @@ public final class WormfangNewt extends CardImpl {
|
|||
|
||||
// When Wormfang Turtle enters the battlefield, exile a land you control.
|
||||
Ability ability1 = new EntersBattlefieldTriggeredAbility(new ExileTargetForSourceEffect(), false);
|
||||
Target target = new TargetPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_A_LAND);
|
||||
target.setNotTarget(true);
|
||||
Target target = new TargetPermanent(StaticFilters.FILTER_CONTROLLED_PERMANENT_A_LAND).withNotTarget(true);
|
||||
ability1.addTarget(target);
|
||||
this.addAbility(ability1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue