gang.getEquipmentStats added, returns equipment multipliers

This commit is contained in:
Olivier Gagnon
2021-03-07 22:01:31 -05:00
parent 1d2136da4b
commit 84423e6309
6 changed files with 35 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
getEquipmentStats() Netscript Function
=====================================
.. js:function:: getEquipmentStats(equipName)
:RAM cost: 2 GB
:param string equipName: Name of equipment
:returns: A dictionary containing the stats of the equipment.
Get the specified equipment stats.
{
"str":1.04,
"def":1.04
}