API: Added external api which returns gainExperience (#1955)

This commit is contained in:
Adam Andreatta
2025-02-20 15:57:06 -08:00
committed by GitHub
parent 3eadb0d18c
commit a25ab3dd39
13 changed files with 186 additions and 9 deletions
+1
View File
@@ -156,6 +156,7 @@ export function NetscriptGang(): InternalAPI<IGang> {
respectGain: member.calculateRespectGain(gang),
wantedLevelGain: member.calculateWantedLevelGain(gang),
moneyGain: member.calculateMoneyGain(gang),
expGain: member.calculateExpGain(),
};
},
canRecruitMember: (ctx) => () => {