mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
BLADEBURNER: Adjusted team bonus computation to make one member help (#2541)
This commit is contained in:
@@ -93,12 +93,6 @@ export const operationSkillSuccessBonus = (inst: Bladeburner) => {
|
||||
return inst.getSkillMult(BladeburnerMultName.SuccessChanceOperation);
|
||||
};
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
return 1;
|
||||
export function operationTeamSuccessBonus(this: Operation | BlackOperation) {
|
||||
return Math.pow(this.teamCount + 1, 0.05);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user