Snarling
557bc12562
More classes as types
2022-09-27 15:35:42 -04:00
Snarling
2213d06159
Using bladeburner and action classes as types
2022-09-27 15:35:41 -04:00
Snarling
c510e47885
Player is now a Person
...
Use correct class inheritance, use class as type and remove IPlayer
2022-09-27 15:35:41 -04:00
Snarling
91a69d7d8f
format & lint
2022-09-27 15:35:40 -04:00
Snarling
a21b1029d7
No more player/router context
2022-09-27 15:35:40 -04:00
Snarling
83d357e758
commit1
2022-09-27 15:35:40 -04:00
Kelenius
aeedcad96d
Removed three empty lines from BB status screen
2022-09-07 13:12:40 +03:00
Olivier Gagnon
04f811276a
allbuild commit a0475cc6
2022-08-29 10:35:30 -04:00
Mughur
cf09057836
BB action rewards now tied to who does the action
2022-08-28 13:20:27 +03:00
Olivier Gagnon
3b35b07860
remove unused fields on sleeves
2022-07-28 03:08:39 -04:00
Olivier Gagnon
4549b0d467
finish sleeve rework
2022-07-28 02:46:34 -04:00
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