Merge pull request #1574 from danielyxie/dev

revert incite violence effect
This commit is contained in:
hydroflame 2021-10-26 19:55:48 -04:00 committed by GitHub
commit b2f09e4880
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1503,12 +1503,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 * 6 * 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 * 6 * growthF()) / BladeburnerConstants.ActionCountGrowthPeriod; this.operations[operation].count += (60 * 3 * growthF()) / BladeburnerConstants.ActionCountGrowthPeriod;
} }
if (this.logging.general) { if (this.logging.general) {
this.log(`Incited violence in the synthoid communities.`); this.log(`Incited violence in the synthoid communities.`);

@ -12,13 +12,13 @@ export const Growths: {
["Stealth Retirement Operation"]: () => number; ["Stealth Retirement Operation"]: () => number;
["Assassination"]: () => number; ["Assassination"]: () => number;
} = { } = {
Tracking: () => getRandomInt(5, 75) / 20, Tracking: () => getRandomInt(5, 75) / 10,
"Bounty Hunter": () => getRandomInt(5, 75) / 20, "Bounty Hunter": () => getRandomInt(5, 75) / 10,
Retirement: () => getRandomInt(5, 75) / 20, Retirement: () => getRandomInt(5, 75) / 10,
Investigation: () => getRandomInt(10, 40) / 20, Investigation: () => getRandomInt(10, 40) / 10,
"Undercover Operation": () => getRandomInt(10, 40) / 20, "Undercover Operation": () => getRandomInt(10, 40) / 10,
"Sting Operation": () => getRandomInt(3, 40) / 20, "Sting Operation": () => getRandomInt(3, 40) / 10,
Raid: () => getRandomInt(2, 40) / 20, Raid: () => getRandomInt(2, 40) / 10,
"Stealth Retirement Operation": () => getRandomInt(1, 20) / 20, "Stealth Retirement Operation": () => getRandomInt(1, 20) / 10,
Assassination: () => getRandomInt(1, 20) / 20, Assassination: () => getRandomInt(1, 20) / 10,
}; };