mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-24 18:24:47 +01:00
Implement bonus potential level monolith talents
This commit is contained in:
@@ -175,6 +175,10 @@ public class Utils {
|
||||
}
|
||||
|
||||
public static boolean randomChance(double chance) {
|
||||
if (chance <= 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return ThreadLocalRandom.current().nextDouble() < chance;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user