From 3d0e3c696b155dacc1b532d1eb2b2bf78f835c1d Mon Sep 17 00:00:00 2001 From: WayofTime Date: Mon, 7 Dec 2020 19:37:36 -0500 Subject: [PATCH] Fixed Augmented Capacity runes They didn't work when you had no regular capacity runes. rooDerp --- .../java/wayoftime/bloodmagic/altar/BloodAltar.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/wayoftime/bloodmagic/altar/BloodAltar.java b/src/main/java/wayoftime/bloodmagic/altar/BloodAltar.java index b2a180c6..61e8659c 100644 --- a/src/main/java/wayoftime/bloodmagic/altar/BloodAltar.java +++ b/src/main/java/wayoftime/bloodmagic/altar/BloodAltar.java @@ -19,14 +19,14 @@ import net.minecraftforge.fluids.capability.IFluidHandler; import net.minecraftforge.fluids.capability.templates.FluidTank; import net.minecraftforge.items.ItemHandlerHelper; import wayoftime.bloodmagic.api.event.BloodMagicCraftedEvent; -import wayoftime.bloodmagic.impl.BloodMagicAPI; -import wayoftime.bloodmagic.recipe.RecipeBloodAltar; import wayoftime.bloodmagic.block.enums.BloodRuneType; import wayoftime.bloodmagic.common.block.BloodMagicBlocks; -import wayoftime.bloodmagic.core.data.Binding; -import wayoftime.bloodmagic.common.item.IBindable; import wayoftime.bloodmagic.common.item.BloodOrb; +import wayoftime.bloodmagic.common.item.IBindable; import wayoftime.bloodmagic.common.item.IBloodOrb; +import wayoftime.bloodmagic.core.data.Binding; +import wayoftime.bloodmagic.impl.BloodMagicAPI; +import wayoftime.bloodmagic.recipe.RecipeBloodAltar; import wayoftime.bloodmagic.tile.TileAltar; import wayoftime.bloodmagic.util.Constants; import wayoftime.bloodmagic.util.helper.NetworkHelper; @@ -453,7 +453,7 @@ public class BloodAltar// implements IFluidHandler this.efficiencyMultiplier = (float) Math.pow(0.85, upgrade.getLevel(BloodRuneType.EFFICIENCY)); this.sacrificeEfficiencyMultiplier = (float) (0.10 * upgrade.getLevel(BloodRuneType.SACRIFICE)); this.selfSacrificeEfficiencyMultiplier = (float) (0.10 * upgrade.getLevel(BloodRuneType.SELF_SACRIFICE)); - this.capacityMultiplier = (float) ((1 + 0.20 * upgrade.getLevel(BloodRuneType.CAPACITY) * Math.pow(1.075, upgrade.getLevel(BloodRuneType.AUGMENTED_CAPACITY)))); + this.capacityMultiplier = (float) ((1 + 0.20 * upgrade.getLevel(BloodRuneType.CAPACITY)) * Math.pow(1.075, upgrade.getLevel(BloodRuneType.AUGMENTED_CAPACITY))); this.dislocationMultiplier = (float) (Math.pow(1.2, upgrade.getLevel(BloodRuneType.DISPLACEMENT))); this.orbCapacityMultiplier = (float) (1 + 0.02 * upgrade.getLevel(BloodRuneType.ORB)); this.chargingFrequency = Math.max(20 - accelerationUpgrades, 1);