InfernoIV / bitburner-scripts

Scripts for bitburner
MIT License
0 stars 1 forks source link

Bladeburner: increase team size #22

Open InfernoIV opened 21 hours ago

InfernoIV commented 21 hours ago

Increase the team size for bladeburner actions, but it needs to set the normal (non-black op) actions to 100% success rate. Otherwise this can ping pong and delay progress

InfernoIV commented 21 hours ago

Is there a max on team size?

InfernoIV commented 21 hours ago

action recruitment needs to be added to the player actions:

InfernoIV commented 21 hours ago

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Bladeburner/data/Constants.ts BaseRecruitmentTimeNeeded: 300

InfernoIV commented 21 hours ago

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Bladeburner/data/GeneralActions.ts#L27 [BladeburnerGeneralActionName.Recruitment]: new GeneralAction({ name: BladeburnerGeneralActionName.Recruitment, getActionTime: function (bladeburner, person) { const effCharisma = bladeburner.getEffectiveSkillLevel(person, "charisma"); const charismaFactor = Math.pow(effCharisma, 0.81) + effCharisma / 90; return Math.max(10, Math.round(BladeburnerConstants.BaseRecruitmentTimeNeeded - charismaFactor)); }, getSuccessChance: function (bladeburner, person) { return Math.pow(person.skills.charisma, 0.45) / (bladeburner.teamSize - bladeburner.sleeveSize + 1); }, desc: "Attempt to recruit members for your Bladeburner team. These members can help you conduct operations.\n\n" + "Does NOT require stamina.", successScaling: "Success chance is affected by Charisma.", }),

InfernoIV commented 21 hours ago

Do the "Recruitment" action whilst success chance is 100%, this will increase the chance for other actions Does extra team members also reduce time for each action?

InfernoIV commented 21 hours ago

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Bladeburner/Actions/Operation.ts#L98 export function operationTeamSuccessBonus(this: Operation | BlackOperation, inst: Bladeburner) { if (this.teamCount && this.teamCount > 0) { this.teamCount = Math.min(this.teamCount, inst.teamSize); const teamMultiplier = Math.pow(this.teamCount, 0.05); return teamMultiplier; }

InfernoIV commented 21 hours ago

https://github.com/bitburner-official/bitburner-src/blob/dev/src/Bladeburner/Actions/BlackOperation.ts#L65 getTeamSuccessBonus = operationTeamSuccessBonus;