Browse Source

30 second delay to zerg mechanic running

lakebane-master
FatBoy-DOTC 6 months ago
parent
commit
36fb3f12b1
  1. 14
      src/engine/workthreads/ZergMechanicThread.java

14
src/engine/workthreads/ZergMechanicThread.java

@ -79,6 +79,12 @@ import java.util.HashSet; @@ -79,6 +79,12 @@ import java.util.HashSet;
player.mineAppliedID = 0;
}
}
try {
Thread.sleep(30000); // 1 minute = 60,000 milliseconds
} catch (InterruptedException e) {
Thread.currentThread().interrupt(); // Restore the interrupted status
// Handle the interruption as needed
}
}
resetZergMultiplier();
@ -115,6 +121,14 @@ import java.util.HashSet; @@ -115,6 +121,14 @@ import java.util.HashSet;
for (PlayerCharacter pc : defenders) {
pc.ZergMultiplier = ZergManager.getCurrentMultiplier(defenders.size(), bane.capSize);
}
// Add a 1-minute delay
try {
Thread.sleep(30000); // 1 minute = 60,000 milliseconds
} catch (InterruptedException e) {
Thread.currentThread().interrupt(); // Restore the interrupted status
// Handle the interruption as needed
}
}
resetZergMultiplier();

Loading…
Cancel
Save