mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 07:18:38 +02:00
API: Changing return value of ns.bladeburner.getSkillUpgradeCost to return Infinity when the skill's level overshoot the maximum level (#1060)
This commit is contained in:
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -3257,7 +3257,7 @@ export interface Bladeburner {
|
||||
*
|
||||
* This function returns the number of skill points needed to upgrade the specified skill the specified number of times.
|
||||
*
|
||||
* The function returns -1 if an invalid skill name is passed in.
|
||||
* The function returns -1 if an invalid skill name is passed in, and Infinity if the count overflows the maximum level.
|
||||
*
|
||||
* @param skillName - Name of skill. Case-sensitive and must be an exact match.
|
||||
* @param count - Number of times to upgrade the skill. Defaults to 1 if not specified.
|
||||
|
||||
Reference in New Issue
Block a user