forked from External/mage
[BRC] Implement Rootpath Purifier (ready for review) (#10363)
* refactor check supertype methods * change supertype to list to match card type * refactor various subtype methods * implement mageobjectattribute for supertype * a few fixes * [BRC] Implement Rootpath Purifier * a few extra fixes * more fixes * add test for purifier
This commit is contained in:
parent
a850e3660b
commit
024c3081df
98 changed files with 489 additions and 238 deletions
|
|
@ -2397,7 +2397,7 @@ public abstract class GameImpl implements Game {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (perm.isWorld()) {
|
||||
if (perm.isWorld(this)) {
|
||||
worldEnchantment.add(perm);
|
||||
}
|
||||
if (perm.hasSubtype(SubType.AURA, this)) {
|
||||
|
|
@ -2569,7 +2569,7 @@ public abstract class GameImpl implements Game {
|
|||
}
|
||||
}
|
||||
|
||||
if (perm.isLegendary() && perm.legendRuleApplies()) {
|
||||
if (perm.isLegendary(this) && perm.legendRuleApplies()) {
|
||||
legendary.add(perm);
|
||||
}
|
||||
if (StaticFilters.FILTER_PERMANENT_EQUIPMENT.match(perm, this)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue