diff --git a/markdown/bitburner.basetask.md b/markdown/bitburner.basetask.md index 0b408a5a5..1a88a834e 100644 --- a/markdown/bitburner.basetask.md +++ b/markdown/bitburner.basetask.md @@ -4,6 +4,8 @@ ## BaseTask interface +Base interface of all tasks. + **Signature:** ```typescript diff --git a/markdown/bitburner.hackingformulas.md b/markdown/bitburner.hackingformulas.md index 81e812281..8848ee081 100644 --- a/markdown/bitburner.hackingformulas.md +++ b/markdown/bitburner.hackingformulas.md @@ -134,7 +134,7 @@ Calculate hack time. -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 . +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}`. diff --git a/markdown/bitburner.hackingformulas.weakeneffect.md b/markdown/bitburner.hackingformulas.weakeneffect.md index 4917ca838..992c69f5d 100644 --- a/markdown/bitburner.hackingformulas.weakeneffect.md +++ b/markdown/bitburner.hackingformulas.weakeneffect.md @@ -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 . +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:** diff --git a/markdown/bitburner.md b/markdown/bitburner.md index fb37475a6..bd33ed403 100644 --- a/markdown/bitburner.md +++ b/markdown/bitburner.md @@ -67,6 +67,8 @@ Player must have installed a backdoor on this server. +Base interface of all tasks. + diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index a67667019..1c710b7c2 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -1744,6 +1744,11 @@ export interface Stock { nextUpdate(): Promise; } +/** + * Base interface of all tasks. + * + * @public + */ interface BaseTask { /** * This promise resolves when the task completes or is canceled. @@ -6322,7 +6327,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 - * {@code 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.