mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
* Some more use of StaticFilter objects.
This commit is contained in:
parent
d5f4df7f54
commit
4806738cfb
234 changed files with 1211 additions and 1211 deletions
|
|
@ -187,7 +187,7 @@ public class CloneTest extends CardTestPlayerBase {
|
|||
|
||||
boolean whiteLion = false;
|
||||
boolean blueLion = false;
|
||||
for (Permanent permanent : currentGame.getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), playerA.getId(), currentGame)) {
|
||||
for (Permanent permanent : currentGame.getBattlefield().getAllActivePermanents(StaticFilters.FILTER_PERMANENT_CREATURE, playerA.getId(), currentGame)) {
|
||||
if (permanent.getColor(currentGame).isWhite()) {
|
||||
whiteLion = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ public class KikiJikiMirrorBreakerTest extends CardTestPlayerBase {
|
|||
assertPermanentCount(playerB, "Silvercoat Lion", 2); // one from Body Double and one from Kiki
|
||||
|
||||
Permanent kikiCopy = null;
|
||||
for (Permanent permanent : currentGame.getState().getBattlefield().getAllActivePermanents(new FilterCreaturePermanent(), currentGame)) {
|
||||
for (Permanent permanent : currentGame.getState().getBattlefield().getAllActivePermanents(StaticFilters.FILTER_PERMANENT_CREATURE, currentGame)) {
|
||||
if (permanent.getName().equals("Silvercoat Lion") && (permanent instanceof PermanentToken)) {
|
||||
kikiCopy = permanent;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue