DOC: Fixed trailing } in ns.formulas.weakenEffect (#2793)

Co-authored-by: Trix <Trix@DESKTOP-QAEJLQP>
This commit is contained in:
TrixTrl
2026-05-20 18:03:02 -04:00
committed by GitHub
parent 6095f2e1ac
commit 827f881be4
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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
View File
@@ -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.