mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
fixed Tome of Legends triggering off of all commanders rather than just the controller's
This commit is contained in:
parent
9f19866435
commit
58d5c945d1
1 changed files with 3 additions and 0 deletions
|
@ -12,8 +12,10 @@ import mage.abilities.effects.common.counter.AddCountersSourceEffect;
|
||||||
import mage.cards.CardImpl;
|
import mage.cards.CardImpl;
|
||||||
import mage.cards.CardSetInfo;
|
import mage.cards.CardSetInfo;
|
||||||
import mage.constants.CardType;
|
import mage.constants.CardType;
|
||||||
|
import mage.constants.TargetController;
|
||||||
import mage.counters.CounterType;
|
import mage.counters.CounterType;
|
||||||
import mage.filter.FilterPermanent;
|
import mage.filter.FilterPermanent;
|
||||||
|
import mage.filter.predicate.other.OwnerPredicate;
|
||||||
import mage.filter.predicate.permanent.CommanderPredicate;
|
import mage.filter.predicate.permanent.CommanderPredicate;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -27,6 +29,7 @@ public final class TomeOfLegends extends CardImpl {
|
||||||
|
|
||||||
static {
|
static {
|
||||||
filter.add(CommanderPredicate.instance);
|
filter.add(CommanderPredicate.instance);
|
||||||
|
filter.add(new OwnerPredicate(TargetController.YOU));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TomeOfLegends(UUID ownerId, CardSetInfo setInfo) {
|
public TomeOfLegends(UUID ownerId, CardSetInfo setInfo) {
|
||||||
|
|
Loading…
Reference in a new issue