API: Fix #3661 Add missing memory property to Sleeve API
This commit is contained in:
hydroflame
2022-07-21 02:26:55 -04:00
committed by GitHub
2 changed files with 3 additions and 0 deletions

View File

@ -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,

View File

@ -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 */