mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
Golden Ratio fix
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user