mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-22 01:03:01 +02:00
MULTS: Make BitNodeMultipliers.ServerMaxMoney more sensible (#280)
This commit is contained in:
@@ -70,9 +70,9 @@ export class Server extends BaseServer {
|
||||
|
||||
/* Hacking information (only valid for "foreign" aka non-purchased servers) */
|
||||
this.requiredHackingSkill = params.requiredHackingSkill != null ? params.requiredHackingSkill : 1;
|
||||
this.moneyAvailable =
|
||||
params.moneyAvailable != null ? params.moneyAvailable * BitNodeMultipliers.ServerStartingMoney : 0;
|
||||
this.moneyMax = 25 * this.moneyAvailable * BitNodeMultipliers.ServerMaxMoney;
|
||||
const baseMoney = params.moneyAvailable ?? 0;
|
||||
this.moneyAvailable = baseMoney * BitNodeMultipliers.ServerStartingMoney;
|
||||
this.moneyMax = 25 * baseMoney * BitNodeMultipliers.ServerMaxMoney;
|
||||
|
||||
//Hack Difficulty is synonymous with server security. Base Difficulty = Starting difficulty
|
||||
const realDifficulty =
|
||||
|
||||
Reference in New Issue
Block a user