mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 14:28:36 +02:00
BUGFIX: hacknetNodeCost formula API throws when using documented optional parameter (#2577)
This commit is contained in:
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -6328,7 +6328,7 @@ interface HacknetNodesFormulas {
|
||||
* @param mult - player cost reduction (defaults to 1)
|
||||
* @returns The calculated cost.
|
||||
*/
|
||||
hacknetNodeCost(n: number, mult: number): number;
|
||||
hacknetNodeCost(n: number, mult?: number): number;
|
||||
/**
|
||||
* All constants used by the game.
|
||||
* @returns An object with all hacknet node constants used by the game.
|
||||
|
||||
Reference in New Issue
Block a user