fix regression with percentage to steal calculator.
[?]
Apr 21, 2020, 3:22 PM
T4AQ3TJJ4NGSKWVQGWCHIZ2JWM32JCEROBPHKHRAVHBBUKEFKESQCDependencies
- [2]
3NFCZ6IPfixed the ram utilisation logic. added flags to `main.js` that can prevent the execution of helpers. - [3]
NC66CZ5Jrename certain variables that had the same names as ns functions to prevent the RAM checker from triggering. - [4]
RWMZ7DVLsplit and refactor various logics. update "README.md". - [*]
2BKHJI2Sinit
Change contents
- replacement in bin/main.js at line 578
const float_ram_required = (integer_threads_required_for_weaken_minimum_security_after_hack * ns.getScriptRam(string_weaken)) + (integer_threads_required_for_cash_grow_after_percentage_stolen * ns.getScriptRam(string_weaken)) + (integer_threads_required_for_weaken_minimum_security_after_grow * ns.getScriptRam(string_grow));const float_ram_required = (integer_threads_required_for_weaken_minimum_security_after_hack * ns.getScriptRam(string_weaken)) + (integer_threads_required_for_cash_grow_after_percentage_stolen * ns.getScriptRam(string_grow)) + (integer_threads_required_for_weaken_minimum_security_after_grow * ns.getScriptRam(string_weaken));