Commit Graph

185 Commits

Author SHA1 Message Date
Olivier Gagnon 326d9fd7ef Move player skills and exp to their struct 2022-07-26 23:54:17 -04:00
Olivier Gagnon d01fd55bde lint fmt 2022-07-21 01:58:47 -04:00
hydroflame ab674980bd Merge pull request #3852 from TheCrazyT/dev
BLADEBURNER: FIX reduce redundant code in Bladeburner.tsx
2022-07-21 01:32:44 -04:00
Olivier Gagnon c9b9c2c55b merge dev 2022-07-20 12:16:42 -04:00
Olivier Gagnon 6afeb6972f fix any in IBladeburner 2022-07-18 03:16:36 -04:00
Olivier Gagnon ceed844523 fix any in Console 2022-07-18 03:13:31 -04:00
Olivier Gagnon 691770fa9b fix any in SkillPage 2022-07-18 03:04:58 -04:00
Olivier Gagnon 40ad1a4758 fix any in SkillElem 2022-07-18 03:03:07 -04:00
hydroflame f339e49aa7 Merge pull request #3787 from Undeemiss/bladeburner-multi-upgrade
BLADEBURNER: Added bulk upgrades to upgradeSkill NS API
2022-07-15 23:40:55 -04:00
Olivier Gagnon 4bee746576 rm any 2022-07-15 01:51:30 -04:00
Olivier Gagnon 6b630753f0 nuke some use of any 2022-07-14 19:00:10 -04:00
Olivier Gagnon 5629c16def extract multipliers in its own type 2022-07-14 18:43:33 -04:00
Olivier Gagnon 0550bc188c refactor some stuff 2022-07-14 17:43:08 -04:00
Olivier Gagnon fac6633347 remove so many fields and values used by the old system 2022-07-12 23:13:40 -04:00
Olivier Gagnon e86a42716c lint 2022-07-11 15:58:23 -04:00
hydroflame 4f617e7d3d Merge pull request #3818 from ApamNapat/fixed_some_typos_and_style_issues
MISC: Fixed some typos and style issues
2022-07-06 14:35:31 -04:00
hydroflame 9f6ba6c802 Merge pull request #3864 from marcowesii/patch-1
DOCUMENTATION: arguments documentation example for ns2 scripts
2022-07-06 14:28:42 -04:00
TheCrazyT 6f7981ff25 Merge branch 'dev' into dev 2022-06-18 22:10:38 +02:00
TheCrazyT d052d40612 reduce redundant code in Bladeburner.tsx 2022-06-18 21:40:33 +02:00
BB de01ae20b9 Fixed some typos and style issues 2022-06-07 15:26:33 +02:00
Undeemiss a0bff34761 Refactored the internal calculateCost function for readability 2022-05-29 11:35:28 -05:00
Undeemiss 06acc423ae Added count to NS cost function, input checking, fixed documentation
Also changed upgradeSkill back to returning a bool instead of a
number.
2022-05-29 11:13:49 -05:00
Undeemiss f8f3c099e0 Formatted/linted (There are some errors, but they aren't mine afaik) 2022-05-28 21:35:20 -05:00
Undeemiss 8b026f606b Fixed off-by-one error in the fast calculateCost function
The off-by-one error was in the original sum, so it's not obvious
in the simplified version of the sum. Fixing this greatly improved
the accuracy of the simple calculation for small counts, but I'm
leaving the recursive mode in. Maybe I'll lower the threshold,
though. 100 isn't a terribly small number.
2022-05-28 21:26:11 -05:00
Undeemiss 8d9e077b66 calculateCost now works more accurately for count<=100 2022-05-28 21:06:25 -05:00
Undeemiss 908d5e9570 Proof-of-concept, handling purchases of 1e150 lvls at once
Threw something together with a formula that should, for large
purchases, be roughly the same cost as normal. The formula change
may cause noticeable deviation from expected costs for low numbers
of upgrades, though, so I plan to fix that by having high
quantities handled differently than low ones if necessary.
2022-05-28 20:37:33 -05:00
Undeemiss 709fc3ab63 Began attempting to implement a multi-upgrade function for bb 2022-05-28 14:12:07 -05:00
Olivier Gagnon f2721fefd2 Bladeburner final op no longer directly sends you to the bitverse but instead makes a button appear that sends you there 2022-05-26 12:59:05 -04:00
hydroflame 3ba8e59a9b Merge pull request #3761 from danielyxie/dev
Fix .script crashing :(((
2022-05-25 16:10:19 -04:00
Olivier Gagnon c1650e332b lint fixes 2022-05-25 15:08:48 -04:00
Olivier Gagnon 76ccb0ba36 lint 2022-05-25 11:43:43 -04:00
hydroflame 16b0970b27 Merge pull request #3746 from danielyxie/dev
Update infinite loop safety net mechanism
2022-05-24 17:10:00 -04:00
hydroflame 570c6d6b32 Merge pull request #3702 from borisflagell/FIX#3508
BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
2022-05-23 12:21:27 -04:00
hydroflame 9a2c743d66 Merge pull request #3710 from danielyxie/dev
Fix blade error
2022-05-22 20:49:07 -04:00
borisflagell 8e0af049d9 BLADEBURNER: FIX #3508 Add GetActionCurrentTime() to Bitburner API
Add GetActionCurrentTime() to Bitburner API.
Slightly tweak BItburner.resetAction() to also reset time counters.
2022-05-22 06:40:08 +02:00
borisflagell 3ee37bfde5 BLADEBURNER: FIX #3685 Error being thrown when finishing a BlackOps
fixes #3685 - Bladeburner.action property was reset before being used for the last time in Bladeburner.processAction().

Moving
const action = this.getActionObject(this.action);
before the call to
const retValue = this.completeAction(player, player, this.action);
2022-05-22 01:16:20 +02:00
hydroflame 5dcdbf81eb Merge pull request #3683 from danielyxie/dev
Fix 'mv'
2022-05-20 23:52:08 -04:00
Olivier Gagnon 27a8582df8 balance infiltrate synthoids 2022-05-20 18:18:42 -04:00
Olivier Gagnon 7eb4494ac1 fix mc 2022-05-20 15:58:33 -04:00
hydroflame 41b9a858de Merge pull request #3678 from danielyxie/dev
v1.7.0
2022-05-20 15:21:21 -04:00
hydroflame a6916bfaa9 Merge pull request #3647 from Vic1970/contributor-Vic1970
BLADEBURNER:  fixes #3648 : Automate console command capitalisation inconsistent
2022-05-13 11:04:35 -04:00
Vic1970 636d081abc Update Bladeburner.tsx
add string case conversion to allow capitalised action types in automate command.
2022-05-12 11:01:26 +10:00
Undeemiss 6748017dd8 Require Blade's Simulacrum be installed in order to take effect
The check for when an action is started was not set to ignore a
purchased but not yet installed Blade's Simulacrum. That is fixed
here.
2022-05-09 15:17:42 -05:00
rderfler 7cf21629a7 Address review
Add ns function setToBladeburnerAction
Formatting updates
fix sleeves using player stamina
Correct supporting sleeve causing error
2022-04-30 15:25:36 -04:00
rderfler d345188cce Address blackops error
Address blackops error by removing incorrect check for type
2022-04-25 13:57:54 -04:00
rderfler 332b803332 Fmt and lint 2022-04-14 15:28:13 -04:00
rderfler 3886e31a45 Format 2022-04-14 11:59:49 -04:00
rderfler 1239c7ad7f Merge branch 'dev' of https://github.com/rderfler/bitburner into dev 2022-04-14 11:57:19 -04:00
rderfler 0406272942 Clean up
linter
2022-04-14 11:57:01 -04:00
rderfler 7c468663d4 Merge branch 'danielyxie:dev' into dev 2022-04-14 11:48:44 -04:00