mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-22 14:12:27 +01:00
65cd14e33b
* Add specific types for sleeve tasks * Moved LocationName enum to overall enums file * Add LocationName enum to those provided to player * remove trailing s on CompanyPosNames enum (now CompanyPosName, in line with LocationName) * Also regenerated all ns documentation. This leads to an expected error when checking for generated files, because PRs should not normally touch markdown files. Also leads to a lint failure in generated file bitburner.d.ts * also removed some exporting from NetscriptDefinitions.d.ts for anything that wasn't imported somewhere else.
2.6 KiB
2.6 KiB
Home > bitburner > CrimeStats
CrimeStats interface
Data representing the internal values of a crime.
Signature:
interface CrimeStats
Properties
Property | Type | Description |
---|---|---|
agility_exp | number | agility exp gained from crime |
agility_success_weight | number | agility level impact on success change of the crime |
charisma_exp | number | charisma exp gained from crime |
charisma_success_weight | number | charisma level impact on success change of the crime |
defense_exp | number | defense exp gained from crime |
defense_success_weight | number | defense level impact on success change of the crime |
dexterity_exp | number | dexterity exp gained from crime |
dexterity_success_weight | number | dexterity level impact on success change of the crime |
difficulty | number | Number representing the difficulty of the crime. Used for success chance calculations |
hacking_exp | number | hacking exp gained from crime |
hacking_success_weight | number | hacking level impact on success change of the crime |
intelligence_exp | number | intelligence exp gained from crime |
karma | number | Amount of karma lost for successfully committing this crime |
kills | number | How many people die as a result of this crime |
money | number | How much money is given |
strength_exp | number | strength exp gained from crime |
strength_success_weight | number | strength level impact on success change of the crime |
time | number | Milliseconds it takes to attempt the crime |
type | string | Description of the crime activity |