- Converted Count$LowestLibrary to playXCount

This commit is contained in:
swordshine
2014-01-08 12:52:09 +00:00
parent fc508b3a27
commit 76cdfa9759
4 changed files with 4 additions and 19 deletions

View File

@@ -1173,11 +1173,6 @@ public class CardFactoryUtil {
}
return enchantedControllerInPlay.size();
}
// Count$LowestLibrary
if (sq[0].contains("LowestLibrary")) {
return Aggregates.min(cc.getGame().getPlayers(), Player.Accessors.countCardsInZone(ZoneType.Library));
}
// Count$MonstrosityMagnitude
if (sq[0].contains("MonstrosityMagnitude")) {

View File

@@ -2745,14 +2745,6 @@ public class Player extends GameEntity implements Comparable<Player> {
}
};
public static Function<Player, Integer> countCardsInZone(final ZoneType zone) {
return new Function<Player, Integer>() {
@Override
public Integer apply(Player input) {
return input.getZone(zone).size();
}
};
}
}
/**