From 3fac3871e7b1602a0636666ccd2d1f5aabe9fa72 Mon Sep 17 00:00:00 2001 From: Akane <akanenohimitsu@gmail.com> Date: Sun, 13 Aug 2023 23:21:51 +0200 Subject: [PATCH] glitch: double negative, instead of spending authority on riot teams - you are gaining it. fix. --- src/Mods/SecExp/buildings/riotControlCenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mods/SecExp/buildings/riotControlCenter.js b/src/Mods/SecExp/buildings/riotControlCenter.js index 8c15159d410..48f95762cee 100644 --- a/src/Mods/SecExp/buildings/riotControlCenter.js +++ b/src/Mods/SecExp/buildings/riotControlCenter.js @@ -237,7 +237,7 @@ App.Mods.SecExp.riotCenter = (function() { `Deploy the unit against ${type} rebel leaders`, () => { const price = forceNeg(1000 + 50 * V.SecExp.buildings.riotCenter.upgrades.rapidUnit); - (function() { cost === "reputation" ? repX(price, "war") : App.Mods.SecExp.authorityX(-price); })(); + (function() { cost === "reputation" ? repX(price, "war") : App.Mods.SecExp.authorityX(price); })(); const change = random(15) + random(1, 2) * V.SecExp.buildings.riotCenter.upgrades.rapidUnit; V.SecExp.rebellions[type + "Progress"] = Math.clamp(V.SecExp.rebellions[type + "Progress"] - change, 0, 100); V.SecExp.buildings.riotCenter.sentUnitCooldown = 3 - V.SecExp.buildings.riotCenter.upgrades.rapidUnitSpeed; -- GitLab