bitburner-src/doc/source/netscript/basicfunctions/hackChance.rst

12 lines
405 B
ReStructuredText

hackChance() Netscript Function
===============================
.. js:function:: hackChance(hostname/ip)
:param string hostname/ip: IP or hostname of target server
:returns: The chance you have of successfully hacking the target server
:RAM cost: 1 GB
Returns the chance you have of successfully hacking the specified server. This
returned value is in decimal form, not percentage.