bitburner-src/src/Bladeburner
Caldwell 0ba337f091
BUGFIX: few bandaids for Bladeburner (#1093)
bandaids for 3 bugs in bladeburner
this really needs proper fixes and a alot of refactoring!

the manual action start didnt start tasks the right way, modifying an existing action object instead of creating a new one
therefore the current action wasnt shown on the stats overview

the api start action didnt check for the BladesSimulacrum Aug and didnt stop current Player tasks
so the next time Bladeburner proccessed it stopped the bladeburner tasks again
when the player was doing something else like crimes

sometimes blops had an action.count of 0 even when they wherent done in that bladeburner instance yet

this happends because the BlackOps class instances are only initialized on game load
and then later on BlackOps completion manipulated
this change doesnt reset on a bitnode change or when bladeburner is deleted through the dev Menu
as a quick fix i added a new resetBlackOps function that always runs when Bladeburner processes
this isnt the best solution but any proper fix i came up with requires a refactor that i couldnt do at this moment

credits to @TheAimMan for finding the clue that the count is the problem not the rank!

edit,;
added a 4th bandaid to avoid NaN Stamina Penalty when stamina is infinite
2024-02-15 04:48:04 -08:00
..
data FIX: #896 - Establish a base growth in Bladeburner (#899) 2023-11-05 04:43:33 -05:00
ui BUGFIX: few bandaids for Bladeburner (#1093) 2024-02-15 04:48:04 -08:00
Action.tsx fix NaN in Bladeburner success Chance (#761) 2023-08-30 14:51:16 -04:00
ActionIdentifier.ts SCRIPTS: Script modules are reused when they are imported (#461) 2023-04-07 00:33:51 -04:00
BlackOperation.ts SCRIPTS: Script modules are reused when they are imported (#461) 2023-04-07 00:33:51 -04:00
BlackOperations.tsx ENUMS: Initial Enum Helper rework + Reorganization (#596) 2023-06-12 00:34:20 -04:00
Bladeburner.tsx BUGFIX: few bandaids for Bladeburner (#1093) 2024-02-15 04:48:04 -08:00
City.ts ENUMS: Initial Enum Helper rework + Reorganization (#596) 2023-06-12 00:34:20 -04:00
Contract.ts SCRIPTS: Script modules are reused when they are imported (#461) 2023-04-07 00:33:51 -04:00
Enums.ts ENUMS: Initial Enum Helper rework + Reorganization (#596) 2023-06-12 00:34:20 -04:00
GeneralActions.tsx CODEBASE: Expand lint rules, and Aliases are stored as maps (#501) 2023-05-05 03:55:59 -04:00
Operation.ts SCRIPTS: Script modules are reused when they are imported (#461) 2023-04-07 00:33:51 -04:00
Skill.ts TYPESAFETY: Strict internal typing for AugmentationName (#608) 2023-06-16 17:52:42 -04:00
Skills.ts Commit1 2022-10-03 12:12:16 -04:00