mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
DOCUMENTATION: Clarify ns.nuke (#1969)
This commit is contained in:
@@ -30,6 +30,10 @@ RAM cost: 0.05 GB
|
||||
|
||||
Running NUKE.exe on a target server gives you root access which means you can execute scripts on said server. NUKE.exe must exist on your home computer.
|
||||
|
||||
Each server has a different number of required open ports. If that number is greater than 0, you have to open its ports before nuking it. You can check the requirement with [getServerNumPortsRequired](./bitburner.ns.getservernumportsrequired.md) or [getServer().numOpenPortsRequired](./bitburner.server.numopenportsrequired.md)<!-- -->.
|
||||
|
||||
Note that the server's required hacking level is not a requirement of nuking. You can nuke a server as long as you open enough ports, regardless of your hacking level.
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
|
||||
11
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
11
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -6744,7 +6744,16 @@ export interface NS {
|
||||
* @remarks
|
||||
* RAM cost: 0.05 GB
|
||||
*
|
||||
* Running NUKE.exe on a target server gives you root access which means you can execute scripts on said server. NUKE.exe must exist on your home computer.
|
||||
* Running NUKE.exe on a target server gives you root access which means you can execute scripts on said server.
|
||||
* NUKE.exe must exist on your home computer.
|
||||
*
|
||||
* Each server has a different number of required open ports. If that number is greater than 0, you have to open its
|
||||
* ports before nuking it.
|
||||
* You can check the requirement with {@link NS.getServerNumPortsRequired | getServerNumPortsRequired} or
|
||||
* {@link Server.numOpenPortsRequired | getServer().numOpenPortsRequired}.
|
||||
*
|
||||
* Note that the server's required hacking level is not a requirement of nuking. You can nuke a server as long as you
|
||||
* open enough ports, regardless of your hacking level.
|
||||
*
|
||||
* @example
|
||||
* ```js
|
||||
|
||||
Reference in New Issue
Block a user