Fix Kelpie Guide's activated ability (#8291)

Should only be able to untap another target permanent.
This commit is contained in:
Grath 2021-09-23 20:33:16 -04:00 committed by GitHub
parent b963168f35
commit 5e1b04aeb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ import mage.constants.Zone;
import mage.filter.FilterPermanent; import mage.filter.FilterPermanent;
import mage.filter.common.FilterControlledLandPermanent; import mage.filter.common.FilterControlledLandPermanent;
import mage.filter.common.FilterControlledPermanent; import mage.filter.common.FilterControlledPermanent;
import mage.filter.predicate.mageobject.AnotherPredicate;
import mage.target.TargetPermanent; import mage.target.TargetPermanent;
import java.util.UUID; import java.util.UUID;
@ -34,6 +35,10 @@ public final class KelpieGuide extends CardImpl {
= new FilterControlledPermanent("another target permanent you control"); = new FilterControlledPermanent("another target permanent you control");
private static final Condition condition private static final Condition condition
= new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 7); = new PermanentsOnTheBattlefieldCondition(filter, ComparisonType.MORE_THAN, 7);
static {
filter2.add(AnotherPredicate.instance);
}
public KelpieGuide(UUID ownerId, CardSetInfo setInfo) { public KelpieGuide(UUID ownerId, CardSetInfo setInfo) {
super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}"); super(ownerId, setInfo, new CardType[]{CardType.CREATURE}, "{2}{U}");