Lowered Spatial Energy Requirements and Lowered required pylon count for max efficiency.

This commit is contained in:
AlgorithmX2
2014-08-28 16:15:49 -05:00
parent 40864f51d6
commit 66d1054701
2 changed files with 6 additions and 5 deletions
+4 -3
View File
@@ -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 );
}