From 66d1054701be457a36a9ed92a5e5166b00e4e526 Mon Sep 17 00:00:00 2001 From: AlgorithmX2 Date: Thu, 28 Aug 2014 16:15:49 -0500 Subject: [PATCH] Lowered Spatial Energy Requirements and Lowered required pylon count for max efficiency. --- core/AEConfig.java | 4 ++-- me/cache/SpatialPylonCache.java | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/core/AEConfig.java b/core/AEConfig.java index e34d6623..ad20f50b 100644 --- a/core/AEConfig.java +++ b/core/AEConfig.java @@ -91,8 +91,8 @@ public class AEConfig extends Configuration implements IConfigureableObject, ICo return prop; } - public double spatialPowerScaler = 1.5; - public double spatialPowerMultiplier = 1500.0; + public double spatialPowerScaler = 1.35; + public double spatialPowerMultiplier = 1250.0; public String grinderOres[] = { // Vanilla Items diff --git a/me/cache/SpatialPylonCache.java b/me/cache/SpatialPylonCache.java index e234e5b6..5913a049 100644 --- a/me/cache/SpatialPylonCache.java +++ b/me/cache/SpatialPylonCache.java @@ -157,14 +157,15 @@ public class SpatialPylonCache implements IGridCache, ISpatialCache reqX = captureMax.x - captureMin.x; reqY = captureMax.y - captureMin.y; reqZ = captureMax.z - captureMin.z; - requirePylongBlocks = ((reqX * reqZ + reqX * reqY + reqY * reqZ) * 3) / 5; - + requirePylongBlocks = Math.max( 6, ((reqX * reqZ + reqX * reqY + reqY * reqZ) * 3) / 8 ); + effiency = (double) pylonBlocks / (double) requirePylongBlocks; + if ( effiency > 1.0 ) effiency = 1.0; if ( effiency < 0.0 ) effiency = 0.0; - + minPower = (double) reqX * (double) reqY * reqZ * AEConfig.instance.spatialPowerMultiplier; maxPower = Math.pow( minPower, AEConfig.instance.spatialPowerScaler ); }