mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +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.CardSetInfo;
|
||||
import mage.constants.CardType;
|
||||
import mage.constants.TargetController;
|
||||
import mage.counters.CounterType;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.other.OwnerPredicate;
|
||||
import mage.filter.predicate.permanent.CommanderPredicate;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -27,6 +29,7 @@ public final class TomeOfLegends extends CardImpl {
|
|||
|
||||
static {
|
||||
filter.add(CommanderPredicate.instance);
|
||||
filter.add(new OwnerPredicate(TargetController.YOU));
|
||||
}
|
||||
|
||||
public TomeOfLegends(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
|
Loading…
Reference in a new issue