mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
work to make documentation unified.
This commit is contained in:
@@ -4,32 +4,36 @@ getTaskStats() Netscript Function
|
||||
.. js:function:: getTaskStats(taskName)
|
||||
|
||||
:RAM cost: 1 GB
|
||||
|
||||
:param string name: Name of the task.
|
||||
:returns: Detailed stats of a task.
|
||||
|
||||
Get the stats of a gang member stats. This is typically used to evaluate
|
||||
which action should be executed next.
|
||||
Examples:
|
||||
|
||||
{
|
||||
name: Terrorism,
|
||||
desc: "Assign this gang member to commit acts of terrorism
|
||||
.. code-block:: javascript
|
||||
|
||||
Greatly increases respect - Greatly increases wanted level - Scales heavily with territory",
|
||||
isHacking: false,
|
||||
isCombat: true,
|
||||
baseRespect: 0.01,
|
||||
baseWanted: 6,
|
||||
baseMoney: 0,
|
||||
hackWeight: 20,
|
||||
strWeight: 20,
|
||||
defWeight: 20,
|
||||
dexWeight: 20,
|
||||
agiWeight: 0,
|
||||
chaWeight: 20,
|
||||
difficulty: 36,
|
||||
territory: {
|
||||
money: 1,
|
||||
respect: 2,
|
||||
wanted: 2
|
||||
{
|
||||
name: Terrorism,
|
||||
desc: "Assign this gang member to commit acts of terrorism
|
||||
|
||||
Greatly increases respect - Greatly increases wanted level - Scales heavily with territory",
|
||||
isHacking: false,
|
||||
isCombat: true,
|
||||
baseRespect: 0.01,
|
||||
baseWanted: 6,
|
||||
baseMoney: 0,
|
||||
hackWeight: 20,
|
||||
strWeight: 20,
|
||||
defWeight: 20,
|
||||
dexWeight: 20,
|
||||
agiWeight: 0,
|
||||
chaWeight: 20,
|
||||
difficulty: 36,
|
||||
territory: {
|
||||
money: 1,
|
||||
respect: 2,
|
||||
wanted: 2
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Get the stats of a gang task stats. This is typically used to evaluate
|
||||
which action should be executed next.
|
||||
Reference in New Issue
Block a user