mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
reduce time and effect of incite violence
This commit is contained in:
parent
e6a4456d81
commit
8819042c0f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -184,9 +184,8 @@ export class Bladeburner implements IBladeburner {
|
||||
break;
|
||||
case ActionTypes["Diplomacy"]:
|
||||
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
||||
this.actionTimeToComplete = 60;
|
||||
case ActionTypes["Incite Violence"]:
|
||||
this.actionTimeToComplete = 600;
|
||||
this.actionTimeToComplete = 60;
|
||||
break;
|
||||
default:
|
||||
throw new Error("Invalid Action Type in startAction(Bladeburner,player, ): " + actionId.type);
|
||||
@ -1505,12 +1504,12 @@ export class Bladeburner implements IBladeburner {
|
||||
for (const contract of Object.keys(this.contracts)) {
|
||||
const growthF = Growths[contract];
|
||||
if (!growthF) throw new Error("trying to generate count for action that doesn't exist? " + contract);
|
||||
this.contracts[contract].count += (60 * 30 * growthF()) / BladeburnerConstants.ActionCountGrowthPeriod;
|
||||
this.contracts[contract].count += (60 * 3 * growthF()) / BladeburnerConstants.ActionCountGrowthPeriod;
|
||||
}
|
||||
for (const operation of Object.keys(this.operations)) {
|
||||
const growthF = Growths[operation];
|
||||
if (!growthF) throw new Error("trying to generate count for action that doesn't exist? " + operation);
|
||||
this.operations[operation].count += (60 * 30 * growthF()) / BladeburnerConstants.ActionCountGrowthPeriod;
|
||||
this.operations[operation].count += (60 * 3 * growthF()) / BladeburnerConstants.ActionCountGrowthPeriod;
|
||||
}
|
||||
break;
|
||||
}
|
||||
@ -2106,9 +2105,8 @@ export class Bladeburner implements IBladeburner {
|
||||
return this.getRecruitmentTime(player);
|
||||
case ActionTypes["Diplomacy"]:
|
||||
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
||||
return 60;
|
||||
case ActionTypes["Incite Violence"]:
|
||||
return 600;
|
||||
return 60;
|
||||
default:
|
||||
workerScript.log("bladeburner.getActionTime", errorLogText);
|
||||
return -1;
|
||||
|
@ -37,9 +37,8 @@ export function GeneralActionElem(props: IProps): React.ReactElement {
|
||||
return 30;
|
||||
case "Diplomacy":
|
||||
case "Hyperbolic Regeneration Chamber":
|
||||
return 60;
|
||||
case "Incite Violence":
|
||||
return 600;
|
||||
return 60;
|
||||
case "Recruitment":
|
||||
return props.bladeburner.getRecruitmentTime(props.player);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user