working on moon rental worth
This commit is contained in:
@@ -52,16 +52,16 @@ class MoonCalc {
|
|||||||
|
|
||||||
//Calculate the prices from the ores
|
//Calculate the prices from the ores
|
||||||
if($firstOre != null) {
|
if($firstOre != null) {
|
||||||
$total += $this->CalcMoonPrice($firstOre, $firstPerc);
|
$total += $this->CalcMoonPrice($firstOre, $firstQuan);
|
||||||
}
|
}
|
||||||
if($secondOre != null) {
|
if($secondOre != null) {
|
||||||
$total += $this->CalcMoonPrice($secondOre, $secondPerc);
|
$total += $this->CalcMoonPrice($secondOre, $secondQuan);
|
||||||
}
|
}
|
||||||
if($thirdOre != null) {
|
if($thirdOre != null) {
|
||||||
$total += $this->CalcMoonPrice($thirdOre, $thirdPerc);
|
$total += $this->CalcMoonPrice($thirdOre, $thirdQuan);
|
||||||
}
|
}
|
||||||
if($fourthOre != null) {
|
if($fourthOre != null) {
|
||||||
$total += $this->CalcMoonPrice($fourthOre, $fourthPerc);
|
$total += $this->CalcMoonPrice($fourthOre, $fourthQuan);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Return the rental price to the caller
|
//Return the rental price to the caller
|
||||||
|
|||||||
Reference in New Issue
Block a user