Re: Forge version 1.5.11
If we want to do January 31st, are we merging Born of the Gods cards back in before that? (Since that's the day before prerelease?)
High Quality Resources for Collectible Card Games and Home of the CCGHQ Team
https://www.slightlymagic.net/forum/
https://www.slightlymagic.net/forum/viewtopic.php?f=52&t=13258
Agetian wrote:Does anyone have any idea why this might be happening?.. I don't think it used to happen before, at least I've just noticed this recently.
Thanks for the bug reportMax mtg wrote:I've changed a lot in CardDb internals, so if anything went wrong with sets assignment in decks being read or deck recognition, please let me know
if (Singletons.getModel().getPreferences().getPrefBoolean(FPref.UI_RANDOM_ART_IN_POOLS)) {
int[] artGroups = MyRandom.splitIntoRandomGroups(nBasic, artCount);
for (int i = 0; i < artGroups.length; i++) {
pool.add(db.getCard(landName, landCode, i + 1), artGroups[i]);
}
} else {
pool.add(db.getCard(landName, landCode, artCount > 1 ? MyRandom.getRandom().nextInt(artCount + 1) : 1), nBasic);
}
[metadata]
Name=forests
[Main]
1 Forest|9ED|1
2 Forest|9ED|2
3 Forest|9ED|3
4 Forest|9ED|4
NAME("Name", "Name", 180, -1, -1, SortState.ASC, new ItemCellRenderer(),
new Function<Entry<InventoryItem, Integer>, Comparable<?>>() {
@Override
public Comparable<?> apply(final Entry<InventoryItem, Integer> from) {
String name = from.getKey().getName();
int ai = from.getKey() instanceof IPaperCard ? ((IPaperCard)from.getKey()).getArtIndex() : 1;
if ( ai > 1 ) {
StringBuilder sb = new StringBuilder(name);
for(int i = ai; i > 1; i--)
sb.append(' ');
return sb.toString();
}
else
return name;
}
},
new Function<Entry<? extends InventoryItem, Integer>, Object>() {
@Override
public Object apply(final Entry<? extends InventoryItem, Integer> from) {
String name = from.getKey().getName();
return name.contains("AE") ? AE_FINDER.matcher(name).replaceAll("\u00C6") : name;
}
}),