mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 21:23:54 +01:00
fix blade time
This commit is contained in:
parent
d82f3e7ad7
commit
2578ea51c3
BIN
favicon.ico
BIN
favicon.ico
Binary file not shown.
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 15 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -179,7 +179,7 @@ export class Action implements IAction {
|
||||
|
||||
baseTime = Math.max(1, (baseTime * skillFac) / statFac);
|
||||
|
||||
return Math.ceil(baseTime * this.getActionTimePenalty()) * 1000;
|
||||
return Math.ceil(baseTime * this.getActionTimePenalty());
|
||||
}
|
||||
|
||||
// For actions that have teams. To be implemented by subtypes.
|
||||
|
@ -1007,7 +1007,7 @@ export class Bladeburner implements IBladeburner {
|
||||
getRecruitmentTime(player: IPlayer): number {
|
||||
const effCharisma = player.charisma * this.skillMultipliers.effCha;
|
||||
const charismaFactor = Math.pow(effCharisma, 0.81) + effCharisma / 90;
|
||||
return Math.max(10, Math.round(BladeburnerConstants.BaseRecruitmentTimeNeeded - charismaFactor)) * 1000;
|
||||
return Math.max(10, Math.round(BladeburnerConstants.BaseRecruitmentTimeNeeded - charismaFactor));
|
||||
}
|
||||
|
||||
resetSkillMultipliers(): void {
|
||||
@ -2104,13 +2104,13 @@ export class Bladeburner implements IBladeburner {
|
||||
case ActionTypes["Operation"]:
|
||||
case ActionTypes["BlackOp"]:
|
||||
case ActionTypes["BlackOperation"]:
|
||||
return actionObj.getActionTime(this);
|
||||
return actionObj.getActionTime(this) * 1000;
|
||||
case ActionTypes["Training"]:
|
||||
case ActionTypes["Field Analysis"]:
|
||||
case ActionTypes["FieldAnalysis"]:
|
||||
return 30000;
|
||||
case ActionTypes["Recruitment"]:
|
||||
return this.getRecruitmentTime(player);
|
||||
return this.getRecruitmentTime(player) * 1000;
|
||||
case ActionTypes["Diplomacy"]:
|
||||
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
||||
case ActionTypes["Incite Violence"]:
|
||||
|
Loading…
Reference in New Issue
Block a user