mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 20:58:03 +00:00
Added random set assignment for the computer in constructed New Game.
This commit is contained in:
@@ -2404,6 +2404,8 @@ public class GameAction {
|
|||||||
card.setRandomPicture(generator.nextInt(n));
|
card.setRandomPicture(generator.nextInt(n));
|
||||||
//System.out.println("computer random number:" + card.getRandomPicture());
|
//System.out.println("computer random number:" + card.getRandomPicture());
|
||||||
//}
|
//}
|
||||||
|
if (card.getSets().size() > 0)
|
||||||
|
card.setRandomSetCode();
|
||||||
|
|
||||||
AllZone.Computer_Library.add(card);
|
AllZone.Computer_Library.add(card);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user