Jump to content
MakeWebGames

Slowing Down The Rate That People Level Up


snaketooth22

Recommended Posts

Assuming you are referring to the same code:

$ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2);

Then yes, that poorly written expression can be re-written as

$ir['exp_needed'] = floor(pow(($ir['level'] + 1), 3) * 2.2);

You have two values (3 and 2.2) which can be manipulated to suit.

Link to comment
Share on other sites

Assuming you are referring to the same code:
$ir['exp_needed']=(int) (($ir['level']+1)*($ir['level']+1)*($ir['level']+1)*2.2);

Then yes, that poorly written expression can be re-written as

$ir['exp_needed'] = floor(pow(($ir['level'] + 1), 3) * 2.2);

You have two values (3 and 2.2) which can be manipulated to suit.

So lets say i wanted to cut the leveling speed down by 75%,. what numbers would i replace the 3 and the 2.2 with ??

Link to comment
Share on other sites

Level Experience Needed
----- --------------------
 1   (1+1)^3*2.2 =>  17.6
 2   (2+1)^3*2.2 =>  59.4
 3   (3+1)^3*2.2 => 140.8
 4   (4+1)^3*2.2 => 275.0
 5   (5+1)^3*2.2 => 475.0

 

So what figure do you think needs changing? Plug in different values, see what works. Make sure your experience needed never exceeds 2,000,000,000 and your level ideal never exceeds 60~120

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...