catloversg
cacecda72f
API: Add types for parameters of gym-university-bladeburner API (Fix merging error) ( #1596 )
...
* API: Add types for parameters of gym-university-bladeburner API
* Fix merging error
2024-08-17 14:08:55 -07:00
David Walker
79bb0d289a
Revert "API: Add types for parameters of gym-university-bladeburner API ( #1591 )" ( #1592 )
...
This reverts commit da8870ed79 .
2024-08-16 13:45:54 -07:00
catloversg
da8870ed79
API: Add types for parameters of gym-university-bladeburner API ( #1591 )
2024-08-16 13:29:24 -07:00
catloversg
289f60d8c8
BLADEBURNER: Add API to calculate max upgrade count of skill ( #1475 )
2024-08-16 13:15:20 -07:00
catloversg
bcb4a3835b
BLADEBURNER: Allow upgrading skill level over max safe integer ( #1509 )
2024-07-31 12:48:09 -07:00
catloversg
29c54df543
BLADEBURNER: Change formula of skill cost ( #1443 )
2024-07-05 14:27:28 -07:00
Snarling
be437c83f6
BLADEBURNER: Allow unsafe positive integers for skill upgrade count ( #1211 )
2024-04-08 06:33:45 -04:00
Snarling
12f9a2b24d
Bugfix
...
Fix Skill.maxLvl defaulting to 1
2024-03-29 14:27:36 -04:00
Snarling
6669c4da6a
BLADEBURNER: Typesafety / refactoring ( #1154 )
2024-03-28 21:52:37 -04:00
Snarling
a4b826683e
TYPESAFETY: Strict internal typing for AugmentationName ( #608 )
2023-06-16 17:52:42 -04: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
Olivier Gagnon
2a13db39c7
fix sleeve memory bug
2021-09-08 23:47:34 -04:00
Olivier Gagnon
a18bdd6afc
prettify, sorry for the big ass commit
2021-09-04 19:09:30 -04:00
Olivier Gagnon
fa78b3f421
Fix React list without keys, fix int miscalculation of blade skills.
2021-08-17 23:52:18 -04:00
Olivier Gagnon
cc8de58cff
More converting blade to react.
2021-08-17 23:28:40 -04:00
Olivier Gagnon
3fad505096
run auto fix lint
2021-04-29 23:52:56 -04:00
Olivier Gagnon
d6016f490c
bladeburner slowly being converted to typescript, added ScriptHackMoneyGain multiplier which is the money you actually gain from script hacks, not money drained, important for BN8
2021-03-13 15:10:55 -05:00