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