2021-03-08 04:12:02 +01:00
|
|
|
getTaskStats() Netscript Function
|
|
|
|
======================================
|
|
|
|
|
2021-03-08 04:13:04 +01:00
|
|
|
.. js:function:: getTaskStats(taskName)
|
2021-03-08 04:12:02 +01:00
|
|
|
|
|
|
|
:RAM cost: 1 GB
|
2021-03-08 04:13:04 +01:00
|
|
|
:param string name: Name of the task.
|
2021-03-12 08:51:56 +01:00
|
|
|
:returns: Detailed stats of a task.
|
|
|
|
|
|
|
|
Examples:
|
2021-03-08 04:13:04 +01:00
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
.. code-block:: javascript
|
2021-03-08 04:12:02 +01:00
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
{
|
|
|
|
name: Terrorism,
|
|
|
|
desc: "Assign this gang member to commit acts of terrorism
|
2021-03-08 04:12:02 +01:00
|
|
|
|
2021-03-12 08:51:56 +01:00
|
|
|
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
|
|
|
|
}
|
2021-03-08 04:12:02 +01:00
|
|
|
}
|
2021-03-12 08:51:56 +01:00
|
|
|
|
|
|
|
Get the stats of a gang task stats. This is typically used to evaluate
|
|
|
|
which action should be executed next.
|