Golden Ratio fix

This commit is contained in:
Adam Pantel
2021-04-06 23:35:18 -04:00
parent 7964f862c6
commit 265e5bb122

View File

@@ -800,7 +800,7 @@ public class CardFactoryUtil {
final List<Integer> powers = Lists.newArrayList(); final List<Integer> powers = Lists.newArrayList();
final String restriction = l[0].substring(15); final String restriction = l[0].substring(15);
final String[] rest = restriction.split(","); final String[] rest = restriction.split(",");
CardCollection list = CardLists.getValidCards(cc.getGame().getCardsInGame(), rest, cc, c, null); CardCollection list = CardLists.getValidCards(cc.getGame().getCardsIn(ZoneType.Battlefield), rest, cc, c, null);
for (final Card card : list) { for (final Card card : list) {
Integer pow = card.getNetPower(); Integer pow = card.getNetPower();
if (!powers.contains(pow)) { if (!powers.contains(pow)) {