mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
Move player skills and exp to their struct
This commit is contained in:
@@ -48,7 +48,7 @@ export function ProgramsRoot(): React.ReactElement {
|
||||
}, []);
|
||||
|
||||
const getHackingLevelRemaining = (lvl: number): number => {
|
||||
return Math.ceil(Math.max(lvl - (player.hacking + player.intelligence / 2), 0));
|
||||
return Math.ceil(Math.max(lvl - (player.skills.hacking + player.skills.intelligence / 2), 0));
|
||||
};
|
||||
|
||||
const getProgCompletion = (name: string): number => {
|
||||
|
||||
Reference in New Issue
Block a user