diff --git a/doc/source/netscript/gangapi/getTaskStats.rst b/doc/source/netscript/gangapi/getTaskStats.rst index 067fda2d8..6b0b15d2f 100644 --- a/doc/source/netscript/gangapi/getTaskStats.rst +++ b/doc/source/netscript/gangapi/getTaskStats.rst @@ -1,10 +1,12 @@ getTaskStats() Netscript Function ====================================== -.. js:function:: getTaskStats() +.. js:function:: getTaskStats(taskName) :RAM cost: 1 GB + :param string name: Name of the task. + Get the stats of a gang member stats. This is typically used to evaluate which action should be executed next. diff --git a/src/Constants.ts b/src/Constants.ts index ca7ef195f..fc890907c 100644 --- a/src/Constants.ts +++ b/src/Constants.ts @@ -233,6 +233,7 @@ export let CONSTANTS: IMap = { Netscript * 'gang.getEquipmentStats' returns the stats of the equipment. + * 'gang.getTaskStats' returns the stats of a task. Misc. * Minor formatting under Hacking>Active Scripts