mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-08 11:29:19 +01:00
Merge pull request #3724 from borisflagell/FIX#3661
API: Fix #3661 Add missing memory property to Sleeve API
This commit is contained in:
@ -38,6 +38,7 @@ export function NetscriptSleeve(player: IPlayer): InternalAPI<ISleeve> {
|
|||||||
return {
|
return {
|
||||||
shock: 100 - sl.shock,
|
shock: 100 - sl.shock,
|
||||||
sync: sl.sync,
|
sync: sl.sync,
|
||||||
|
memory: sl.memory,
|
||||||
hacking: sl.hacking,
|
hacking: sl.hacking,
|
||||||
strength: sl.strength,
|
strength: sl.strength,
|
||||||
defense: sl.defense,
|
defense: sl.defense,
|
||||||
|
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -1023,6 +1023,8 @@ export interface SleeveSkills {
|
|||||||
shock: number;
|
shock: number;
|
||||||
/** Current sync of the sleeve [0-100] */
|
/** Current sync of the sleeve [0-100] */
|
||||||
sync: number;
|
sync: number;
|
||||||
|
/** Current memory of the sleeve [1-100] */
|
||||||
|
memory: number;
|
||||||
/** Current hacking skill of the sleeve */
|
/** Current hacking skill of the sleeve */
|
||||||
hacking: number;
|
hacking: number;
|
||||||
/** Current strength of the sleeve */
|
/** Current strength of the sleeve */
|
||||||
|
Reference in New Issue
Block a user