mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
Fixed Spirit Mirror and added tests. Fixes #3391
This commit is contained in:
parent
376d82be99
commit
c53d3b392a
2 changed files with 114 additions and 2 deletions
|
|
@ -44,6 +44,7 @@ import mage.constants.TargetController;
|
|||
import mage.constants.Zone;
|
||||
import mage.filter.FilterPermanent;
|
||||
import mage.filter.predicate.mageobject.NamePredicate;
|
||||
import mage.filter.predicate.mageobject.SubtypePredicate;
|
||||
import mage.filter.predicate.permanent.TokenPredicate;
|
||||
import mage.game.permanent.token.ReflectionToken;
|
||||
import mage.target.TargetPermanent;
|
||||
|
|
@ -56,8 +57,7 @@ public class SpiritMirror extends CardImpl {
|
|||
private static final FilterPermanent filter = new FilterPermanent("Reflection");
|
||||
|
||||
static {
|
||||
filter.add(new NamePredicate("Reflection"));
|
||||
filter.add(new TokenPredicate());
|
||||
filter.add(new SubtypePredicate("Reflection"));
|
||||
}
|
||||
|
||||
public SpiritMirror(UUID ownerId, CardSetInfo setInfo) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue