getSkillUpgradeCost() Netscript Function

getSkillUpgradeCost(skillName="")
Arguments:
  • skillName (string) – Name of skill. Case-sensitive and must be an exact match

This function returns the number of skill points needed to upgrade the specified skill.

The function returns -1 if an invalid skill name is passed in.