mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
fix #11462 (Kitesail Larcenist)
This commit is contained in:
parent
f833d2da70
commit
e113f42427
1 changed files with 5 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ import mage.constants.CardType;
|
|||
import mage.constants.Duration;
|
||||
import mage.constants.SubType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.Predicates;
|
||||
import mage.filter.predicate.mageobject.AnotherPredicate;
|
||||
import mage.filter.predicate.permanent.ControllerIdPredicate;
|
||||
import mage.game.Game;
|
||||
|
|
@ -81,6 +82,10 @@ enum KitesailLarcenistAdjuster implements TargetAdjuster {
|
|||
);
|
||||
filter.add(new ControllerIdPredicate(playerId));
|
||||
filter.add(AnotherPredicate.instance);
|
||||
filter.add(Predicates.or(
|
||||
CardType.ARTIFACT.getPredicate(),
|
||||
CardType.CREATURE.getPredicate()
|
||||
));
|
||||
ability.addTarget(new TargetPermanent(0, 1, filter));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue