mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Improvements and extensions to Card based random deck generator. Now randomly picks a second keycard to build the deck around too. Also I have now included all non-AI playable decks in the model (the AI still excludes the non-AI playables from the decks it builds). There are now 10x more decks in the model including the latest decks from pro tour AKH. The format of the .dat files has now changed - so these new dat files need to be redeployed if you are manually installing on Android.
This commit is contained in:
@@ -153,7 +153,7 @@ public class FDeckChooser extends JPanel implements IDecksComboBoxListener {
|
||||
private void updateMatrix(GameFormat format) {
|
||||
lstDecks.setAllowMultipleSelections(false);
|
||||
|
||||
lstDecks.setPool(CardThemedDeckGenerator.getMatrixDecks(format));
|
||||
lstDecks.setPool(CardThemedDeckGenerator.getMatrixDecks(format, isAi));
|
||||
lstDecks.setup(ItemManagerConfig.STRING_ONLY);
|
||||
|
||||
btnRandom.setText("Random");
|
||||
|
||||
@@ -118,8 +118,8 @@ public class FDeckViewer extends FDialog {
|
||||
}
|
||||
});
|
||||
|
||||
final int width = 800;
|
||||
final int height = 600;
|
||||
final int width = 1920;
|
||||
final int height = 1080;
|
||||
this.setPreferredSize(new Dimension(width, height));
|
||||
this.setSize(width, height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user