Skip to content

Instantly share code, notes, and snippets.

@ericboehs
Created January 22, 2010 09:26
Show Gist options
  • Select an option

  • Save ericboehs/283649 to your computer and use it in GitHub Desktop.

Select an option

Save ericboehs/283649 to your computer and use it in GitHub Desktop.
<?php
$SFlvlOneRP = 610560;
$MFlvlOneRP = 532800;
$desiredLevel = 1;
$baseRPPH = 1.14;
$maxScientiest = 333;
$colonies = 8;
$SFRPNeeded = $SFlvlOneRP*($desiredLevel*($desiredLevel+1)/2);
$MFRPNeeded = $MFlvlOneRP*($desiredLevel*($desiredLevel+1)/2);
$totalSFHours = $SFRPNeeded/(($baseRPPH+(($desiredLevel-1)*.02))*$maxScientiest*$colonies);
$totalSFWeeks = $totalSFHours/24/7;
$totalMFHours = $MFRPNeeded/(($baseRPPH)*$maxScientiest*$colonies);
$totalMFWeeks = $totalMFHours/24/7;
echo "Total hours for SF: $totalSFHours\n";
echo "Total hours for MF: $totalMFHours\n";
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment