Browse Source

increase number of strongholds

lakebane-strongholds
FatBoy-DOTC 2 months ago
parent
commit
e9edf8a7ea
  1. 2
      src/engine/gameManager/StrongholdManager.java

2
src/engine/gameManager/StrongholdManager.java

@ -18,7 +18,7 @@ public class StrongholdManager {
ArrayList<Mine> mines = Mine.getMines(); ArrayList<Mine> mines = Mine.getMines();
//process strongholds selecting 2 randomly to become active //process strongholds selecting 3 randomly to become active
int count = 0; int count = 0;
while (count < 3) { while (count < 3) {
int random = ThreadLocalRandom.current().nextInt(1, mines.size()) - 1; int random = ThreadLocalRandom.current().nextInt(1, mines.size()) - 1;

Loading…
Cancel
Save