This commit is contained in:
2019-11-07 00:06:54 -06:00
parent 6ea342d983
commit a7dd4f3c20

View File

@@ -176,6 +176,9 @@ class MoonsController extends Controller
$reprocessing = $request->reprocessing;
}
//Set the reprocessing level for 84%
$reprocessing = 0.84;
//Calculate the total moon goo value
$totalGoo = $moonCalc->SpatialMoonsOnlyGooTotalWorth($firstOre, $firstQuantity, $secondOre, $secondQuantity,
$thirdOre, $thirdQuantity, $fourthOre, $fourthQuantity);
@@ -198,8 +201,6 @@ class MoonsController extends Controller
//Calculate the number of reprocessing units to happen from moon units
$rUnits = floor($mUnits / 100.0);
dd($reprocessing);
//Compile the composition of the ore
$composition['Tritanium'] += floor(($firstComp->Tritanium * $rUnits) * $reprocessing);
$composition['Pyerite'] += floor(($firstComp->Pyerite * $rUnits) * $reprocessing);