Fixed bug with contract generation when player doesn't have a job. Added bladeburner.getActionRepGain() function

This commit is contained in:
danielyxie
2018-09-23 23:27:31 -05:00
parent 3051208bcb
commit d624d2f86f
8 changed files with 92 additions and 13 deletions

View File

@@ -146,6 +146,19 @@ getActionEstimatedSuccessChance
is returned as a decimal value, NOT a percentage (e.g. if you have an estimated
success chance of 80%, then this function will return 0.80, NOT 80).
getActionRepGain
----------------
.. js:function:: getActionRepGain(type, name[, level=current level])
:param string type: Type of action. See :ref:`bladeburner_action_types`
:param string name: Name of action. Must be an exact match
:param number level: Optional action level at which to calculate the gain
Returns the average Bladeburner reputation gain for successfully completing
the specified action. Note that this value is an 'average' and the real
reputation gain may vary slightly from this value.
getActionCountRemaining
-----------------------