This commit is contained in:
Olivier Gagnon
2022-05-20 17:28:21 -04:00
parent 7eb4494ac1
commit 42dcbf889e
2 changed files with 4 additions and 12 deletions
+2 -2
View File
@@ -1110,7 +1110,7 @@ export class Sleeve extends Person {
this.gainRatesForTask.cha =
2 * BladeburnerConstants.BaseStatGain * (p.bladeburner?.getRecruitmentTime(this) ?? 0) * 1000;
this.currentTaskLocation = `(Success Rate: ${numeralWrapper.formatPercentage(
this.recrutmentSuccessChance(p),
this.recruitmentSuccessChance(p),
)})`;
break;
case "Diplomacy":
@@ -1138,7 +1138,7 @@ export class Sleeve extends Person {
return true;
}
recrutmentSuccessChance(p: IPlayer): number {
recruitmentSuccessChance(p: IPlayer): number {
return Math.max(0, Math.min(1, p.bladeburner?.getRecruitmentSuccessChance(this) ?? 0));
}