Browse Source

increase number of strongholds

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

2
src/engine/gameManager/StrongholdManager.java

@ -20,7 +20,7 @@ public class StrongholdManager {
//process strongholds selecting 2 randomly to become active //process strongholds selecting 2 randomly to become active
int count = 0; int count = 0;
while (count < 2) { while (count < 3) {
int random = ThreadLocalRandom.current().nextInt(1, mines.size()) - 1; int random = ThreadLocalRandom.current().nextInt(1, mines.size()) - 1;
Mine mine = mines.get(random); Mine mine = mines.get(random);
if (mine != null) { if (mine != null) {

Loading…
Cancel
Save