This commit is contained in:
2019-11-06 23:21:54 -06:00
parent 93db789a0f
commit 04faa42987

View File

@@ -167,11 +167,10 @@ class MoonsController extends Controller
//Get the composition for the first ore if it is not None.
//Add the first ore composition to the final composition
if($firstOre != 'None') {
dd($firstOre);
$firstComp = $moonCalc->GetOreComposition($firstOre);
$rUnits = $moonCalc->CalcReprocessingUnits($firstOre, $firstQuantity);
dd($firstComp);
foreach($firstComp as $key => $value) {
$composition[$key] += floor(($firstComp[$key] * $rUnits) * $reprocessing);