mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-30 03:23: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;
|
break;
|
||||||
case ActionTypes["Diplomacy"]:
|
case ActionTypes["Diplomacy"]:
|
||||||
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
||||||
this.actionTimeToComplete = 60;
|
|
||||||
case ActionTypes["Incite Violence"]:
|
case ActionTypes["Incite Violence"]:
|
||||||
this.actionTimeToComplete = 600;
|
this.actionTimeToComplete = 60;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Error("Invalid Action Type in startAction(Bladeburner,player, ): " + actionId.type);
|
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)) {
|
for (const contract of Object.keys(this.contracts)) {
|
||||||
const growthF = Growths[contract];
|
const growthF = Growths[contract];
|
||||||
if (!growthF) throw new Error("trying to generate count for action that doesn't exist? " + 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)) {
|
for (const operation of Object.keys(this.operations)) {
|
||||||
const growthF = Growths[operation];
|
const growthF = Growths[operation];
|
||||||
if (!growthF) throw new Error("trying to generate count for action that doesn't exist? " + 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;
|
break;
|
||||||
}
|
}
|
||||||
@ -2106,9 +2105,8 @@ export class Bladeburner implements IBladeburner {
|
|||||||
return this.getRecruitmentTime(player);
|
return this.getRecruitmentTime(player);
|
||||||
case ActionTypes["Diplomacy"]:
|
case ActionTypes["Diplomacy"]:
|
||||||
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
case ActionTypes["Hyperbolic Regeneration Chamber"]:
|
||||||
return 60;
|
|
||||||
case ActionTypes["Incite Violence"]:
|
case ActionTypes["Incite Violence"]:
|
||||||
return 600;
|
return 60;
|
||||||
default:
|
default:
|
||||||
workerScript.log("bladeburner.getActionTime", errorLogText);
|
workerScript.log("bladeburner.getActionTime", errorLogText);
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -37,9 +37,8 @@ export function GeneralActionElem(props: IProps): React.ReactElement {
|
|||||||
return 30;
|
return 30;
|
||||||
case "Diplomacy":
|
case "Diplomacy":
|
||||||
case "Hyperbolic Regeneration Chamber":
|
case "Hyperbolic Regeneration Chamber":
|
||||||
return 60;
|
|
||||||
case "Incite Violence":
|
case "Incite Violence":
|
||||||
return 600;
|
return 60;
|
||||||
case "Recruitment":
|
case "Recruitment":
|
||||||
return props.bladeburner.getRecruitmentTime(props.player);
|
return props.bladeburner.getRecruitmentTime(props.player);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user