mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
0ba337f091
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 |
||
---|---|---|
.. | ||
data | ||
ui | ||
Action.tsx | ||
ActionIdentifier.ts | ||
BlackOperation.ts | ||
BlackOperations.tsx | ||
Bladeburner.tsx | ||
City.ts | ||
Contract.ts | ||
Enums.ts | ||
GeneralActions.tsx | ||
Operation.ts | ||
Skill.ts | ||
Skills.ts |