From 8a7e8cba6c1963e6b582fa036b8e4f1f163c4013 Mon Sep 17 00:00:00 2001 From: ScriptedPiky <41557212+ScriptedPiky@users.noreply.github.com> Date: Sat, 5 Feb 2022 02:15:46 -0800 Subject: [PATCH] Some buffs to the Altar upgrades (#15) * Some buffs to the Altar upgrades These are relatively small to mild, but should suffice for some nice buffs. Starting off relatively small for now to test the waters. * Readjust some values Reconfirmation: `this.consumptionMultiplier = (float) (0.25 * upgrades.getSpeedUpgrades());` seems to be for Orb input? And `this.efficiencyMultiplier = (float) Math.pow(0.80, upgrades.getSpeedUpgrades());` seems to be for everything else like normal recipes. * Update dependencies.gradle * Update dependencies.gradle Co-authored-by: Martin Robertz --- .../common/tileEntity/TEAltar.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java b/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java index 91d80544..24f9ad5a 100644 --- a/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java +++ b/src/main/java/WayofTime/alchemicalWizardry/common/tileEntity/TEAltar.java @@ -797,13 +797,13 @@ public class TEAltar extends TEInventory implements IFluidTank, IFluidHandler, I this.isUpgraded = checkUpgrade; this.upgradeLevel = upgradeState; - this.consumptionMultiplier = (float) (0.20 * upgrades.getSpeedUpgrades()); - this.efficiencyMultiplier = (float) Math.pow(0.85, upgrades.getSpeedUpgrades()); - this.sacrificeEfficiencyMultiplier = (float) (0.10 * upgrades.getSacrificeUpgrades()); - this.selfSacrificeEfficiencyMultiplier = (float) (0.10 * upgrades.getSelfSacrificeUpgrades()); - this.capacityMultiplier = (float) ((1 * Math.pow(1.10, upgrades.getBetterCapacitiveUpgrades()) + 0.20 * upgrades.getAltarCapacitiveUpgrades())); - this.dislocationMultiplier = (float) (Math.pow(1.2, upgrades.getDisplacementUpgrades())); - this.orbCapacityMultiplier = (float) (1 + 0.02 * upgrades.getOrbCapacitiveUpgrades()); + this.consumptionMultiplier = (float) (0.25 * upgrades.getSpeedUpgrades()); + this.efficiencyMultiplier = (float) Math.pow(0.80, upgrades.getSpeedUpgrades()); + this.sacrificeEfficiencyMultiplier = (float) (0.12 * upgrades.getSacrificeUpgrades()); + this.selfSacrificeEfficiencyMultiplier = (float) (0.12 * upgrades.getSelfSacrificeUpgrades()); + this.capacityMultiplier = (float) ((1 * Math.pow(1.22, upgrades.getBetterCapacitiveUpgrades()) + 0.35 * upgrades.getAltarCapacitiveUpgrades())); + this.dislocationMultiplier = (float) (Math.pow(1.5, upgrades.getDisplacementUpgrades())); + this.orbCapacityMultiplier = (float) (1 + 0.04 * upgrades.getOrbCapacitiveUpgrades()); this.capacity = (int) (FluidContainerRegistry.BUCKET_VOLUME * 10 * capacityMultiplier); this.bufferCapacity = (int) (FluidContainerRegistry.BUCKET_VOLUME * 1 * capacityMultiplier); this.accelerationUpgrades = upgrades.getAccelerationUpgrades();