From ad9bde40e0738361cb75dde6e7e4980c573b1ed5 Mon Sep 17 00:00:00 2001 From: missymae#2783 <141260118+myCatsName@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:28:21 -0600 Subject: [PATCH] DOCS: Improve documentation for ns.bladeburner.getActionRepGain (#760) --- markdown/bitburner.bladeburner.getactionrepgain.md | 2 +- src/ScriptEditor/NetscriptDefinitions.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown/bitburner.bladeburner.getactionrepgain.md b/markdown/bitburner.bladeburner.getactionrepgain.md index ea07e1342..1ca00295e 100644 --- a/markdown/bitburner.bladeburner.getactionrepgain.md +++ b/markdown/bitburner.bladeburner.getactionrepgain.md @@ -18,7 +18,7 @@ getActionRepGain(type: string, name: string, level: number): number; | --- | --- | --- | | type | string | Type of action. | | name | string | Name of action. Must be an exact match. | -| level | number | Optional action level at which to calculate the gain | +| level | number | Optional number. Action level at which to calculate the gain. Will be the action's current level if not given. | **Returns:** diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index e8f735b01..157e33bff 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -2901,7 +2901,7 @@ export interface Bladeburner { * * @param type - Type of action. * @param name - Name of action. Must be an exact match. - * @param level - Optional action level at which to calculate the gain + * @param level - Optional number. Action level at which to calculate the gain. Will be the action's current level if not given. * @returns Average Bladeburner reputation gain for successfully completing the specified action. */ getActionRepGain(type: string, name: string, level: number): number;