This commit is contained in:
2019-11-07 00:03:59 -06:00
parent ca69b278c2
commit 4dba3fa998
2 changed files with 34 additions and 10 deletions
+1 -1
View File
@@ -537,7 +537,7 @@ class MoonCalc {
//Get the m3 size from the item composition
$m3Size = $item->m3Size;
//Calculate the actual m3 from the total pull amount in m3 using the percentage of the ingredient
$actualm3 = floor($totalPull * ($percentage / 100));
$actualm3 = floor($totalPull * $percentage);
//Calculate the units from the m3 pulled from the moon
$units = floor($actualm3 / $m3Size);