mirror of
https://github.com/correl/mage.git
synced 2024-11-16 03:00:12 +00:00
Fixed bug of Deputy of Acquittals that could target any creature instead of controlled creatures.
This commit is contained in:
parent
7fd1e24378
commit
fe9febecd3
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,7 @@ package mage.sets.dragonsmaze;
|
|||
import java.util.UUID;
|
||||
import mage.Constants.CardType;
|
||||
import mage.Constants.Rarity;
|
||||
import mage.Constants.TargetController;
|
||||
import mage.MageInt;
|
||||
import mage.abilities.Ability;
|
||||
import mage.abilities.common.EntersBattlefieldTriggeredAbility;
|
||||
|
@ -38,6 +39,7 @@ import mage.abilities.keyword.FlashAbility;
|
|||
import mage.cards.CardImpl;
|
||||
import mage.filter.common.FilterCreaturePermanent;
|
||||
import mage.filter.predicate.permanent.AnotherPredicate;
|
||||
import mage.filter.predicate.permanent.ControllerPredicate;
|
||||
import mage.target.Target;
|
||||
import mage.target.common.TargetCreaturePermanent;
|
||||
|
||||
|
@ -50,6 +52,7 @@ public class DeputyOfAcquittals extends CardImpl<DeputyOfAcquittals> {
|
|||
private static final FilterCreaturePermanent filter = new FilterCreaturePermanent("another target creature you control");
|
||||
static {
|
||||
filter.add(new AnotherPredicate());
|
||||
filter.add(new ControllerPredicate(TargetController.YOU));
|
||||
}
|
||||
|
||||
public DeputyOfAcquittals(UUID ownerId) {
|
||||
|
|
Loading…
Reference in a new issue