From 63939509e52e6ddb51ffde4f9450a4fee8bf50ee Mon Sep 17 00:00:00 2001 From: Olivier Gagnon Date: Fri, 22 Oct 2021 15:54:14 -0400 Subject: [PATCH] Chaos has a bigger effect and Incite Violence has diminishing return --- src/Bladeburner/Action.tsx | 2 +- src/Bladeburner/Bladeburner.tsx | 8 ++++++-- src/Bladeburner/Operation.ts | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/Bladeburner/Action.tsx b/src/Bladeburner/Action.tsx index e7319fcf8..b36866762 100644 --- a/src/Bladeburner/Action.tsx +++ b/src/Bladeburner/Action.tsx @@ -206,7 +206,7 @@ export class Action implements IAction { const city = inst.getCurrentCity(); if (city.chaos > BladeburnerConstants.ChaosThreshold) { const diff = 1 + (city.chaos - BladeburnerConstants.ChaosThreshold); - const mult = Math.pow(diff, 0.1); + const mult = Math.pow(diff, 0.5); return mult; } diff --git a/src/Bladeburner/Bladeburner.tsx b/src/Bladeburner/Bladeburner.tsx index 689ba2df8..2f7c0465c 100644 --- a/src/Bladeburner/Bladeburner.tsx +++ b/src/Bladeburner/Bladeburner.tsx @@ -1513,8 +1513,12 @@ export class Bladeburner implements IBladeburner { if (this.logging.general) { this.log(`Incited violence in the synthoid communities.`); } - const city = this.cities[this.city]; - city.chaos = (city.chaos + 100) * 2; + for (const cityName of Object.keys(this.cities)) { + const city = this.cities[cityName]; + city.chaos += 10; + city.chaos += city.chaos / (Math.log(city.chaos) / Math.log(10)); + } + this.startAction(player, this.action); break; } diff --git a/src/Bladeburner/Operation.ts b/src/Bladeburner/Operation.ts index d08a5ce89..5066839f3 100644 --- a/src/Bladeburner/Operation.ts +++ b/src/Bladeburner/Operation.ts @@ -37,7 +37,7 @@ export class Operation extends Action { const city = inst.getCurrentCity(); if (city.chaos > BladeburnerConstants.ChaosThreshold) { const diff = 1 + (city.chaos - BladeburnerConstants.ChaosThreshold); - const mult = Math.pow(diff, 0.1); + const mult = Math.pow(diff, 0.5); return mult; }