Skip to content

Instantly share code, notes, and snippets.

@JZersche
Created July 9, 2017 06:04
Show Gist options
  • Save JZersche/e3aa88244ee59487dbc50527e7e27e08 to your computer and use it in GitHub Desktop.
Save JZersche/e3aa88244ee59487dbc50527e7e27e08 to your computer and use it in GitHub Desktop.
$Rate = 1.0*10; // x10 Experience
for
(
$Multiplier=$Multiplier, $Level=1, $Experience=1;
$Level<=165;
$Multiplier+=1.0/$Rate, $Level+=1, $Experience+=50
)
{
echo round
($Multiplier)
.'->'.$Level
.'->'.round
($Experience*$Multiplier)
.'<br />';}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment