mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-23 08:02:04 +02:00
DOC: Fixed trailing } in ns.formulas.weakenEffect (#2793)
Co-authored-by: Trix <Trix@DESKTOP-QAEJLQP>
This commit is contained in:
@@ -134,7 +134,7 @@ Calculate hack time.
|
||||
|
||||
</td><td>
|
||||
|
||||
Calculate the security decrease from a weaken operation. Unlike other hacking formulas, weaken effect depends only on thread count and core count, not on server or player properties. The core bonus formula is `1 + (cores - 1) / 16}`<!-- -->.
|
||||
Calculate the security decrease from a weaken operation. Unlike other hacking formulas, weaken effect depends only on thread count and core count, not on server or player properties. The core bonus formula is `1 + (cores - 1) / 16`<!-- -->.
|
||||
|
||||
|
||||
</td></tr>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
## HackingFormulas.weakenEffect() method
|
||||
|
||||
Calculate the security decrease from a weaken operation. Unlike other hacking formulas, weaken effect depends only on thread count and core count, not on server or player properties. The core bonus formula is `1 + (cores - 1) / 16}`<!-- -->.
|
||||
Calculate the security decrease from a weaken operation. Unlike other hacking formulas, weaken effect depends only on thread count and core count, not on server or player properties. The core bonus formula is `1 + (cores - 1) / 16`<!-- -->.
|
||||
|
||||
**Signature:**
|
||||
|
||||
|
||||
+1
-1
@@ -6296,7 +6296,7 @@ interface HackingFormulas {
|
||||
* Calculate the security decrease from a weaken operation.
|
||||
* Unlike other hacking formulas, weaken effect depends only on thread count and
|
||||
* core count, not on server or player properties. The core bonus formula is
|
||||
* `1 + (cores - 1) / 16}`.
|
||||
* `1 + (cores - 1) / 16`.
|
||||
* @param threads - Number of threads running weaken.
|
||||
* @param cores - Number of cores on the host server. Default 1.
|
||||
* @returns The security decrease amount.
|
||||
|
||||
Reference in New Issue
Block a user