mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-14 03:33:52 +01:00
12 lines
405 B
ReStructuredText
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.
|