numCycleForGrowth() function now accoutns for BitNode growth multiplier. Cleaned up docuemntation

This commit is contained in:
danielyxie
2019-03-19 17:53:46 -07:00
parent f7fd3c859f
commit 4bdb34bc7b
6 changed files with 15 additions and 9 deletions

View File

@@ -4,7 +4,7 @@ purchaseServer() Netscript Function
.. js:function:: purchaseServer(hostname, ram)
:param string hostname: Hostname of the purchased server
:param number ram: Amount of RAM of the purchased server. Must be a power of 2 (2, 4, 8, 16, etc.). Maximum value of getPurchasedServerMaxRam()
:param number ram: Amount of RAM of the purchased server. Must be a power of 2. Maximum value of :js:func:`getPurchasedServerMaxRam`
:RAM cost: 2.25 GB
Purchased a server with the specified hostname and amount of RAM.