upgradeLevel() Netscript Function

upgradeLevel(i, n)
RAM cost:

0 GB

  • i (number) – Index of Hacknet Node. See here for details
  • n (number) – Number of levels to purchase. Must be positive. Rounded to nearest integer

true if the upgrade was successful.

Tries to upgrade the level of the specified Hacknet Node by n.