mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
Update documentation. Hacknet Node API functions for getting costs now return Infinity if the specified Node is at max level
This commit is contained in:
+1
-1
@@ -1158,7 +1158,7 @@ const Engine = {
|
||||
|
||||
if (Engine.Counters.contractGeneration <= 0) {
|
||||
// X% chance of a contract being generated
|
||||
if (Math.random() < 0.23) {
|
||||
if (Math.random() <= 0.25) {
|
||||
// First select a random problem type
|
||||
const problemTypes = Object.keys(CodingContractTypes);
|
||||
let randIndex = getRandomInt(0, problemTypes.length - 1);
|
||||
|
||||
Reference in New Issue
Block a user